PHP 7.4.9 Released!

MongoDB\Driver\Session::getTransactionOptions

(mongodb >=1.7.0)

MongoDB\Driver\Session::getTransactionOptionsReturns options for the currently running transaction

Beschreibung

final public MongoDB\Driver\Session::getTransactionOptions ( void ) : array|null

Returns options for the currently running transaction.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

R├╝ckgabewerte

Returns a array containing current transaction options, or NULL if no transaction is running.

Fehler/Exceptions

  • Throws MongoDB\Driver\InvalidArgumentException on argument parsing errors.

Siehe auch

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top