MongoDB\Driver\Session::getTransactionOptions
(mongodb >=1.7.0)
MongoDB\Driver\Session::getTransactionOptions — Returns options for the currently running transaction
Beschreibung
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\Exception\InvalidArgumentException on argument parsing errors.
Siehe auch
- MongoDB\Driver\Session::getTransactionState() - Returns the current transaction state for this session