MongoDB\Driver\Session::getTransactionState
PHP function
Edit on GitHub ✎
(mongodb >=1.7.0)
Returns the current transaction state for this session
Description
MongoDB\Driver\Session::getTransactionState(): string
Returns the transaction state for this session.
Parameters Parameters
Return Values
Returns the current transaction state for this session.
Errors/Exceptions
See Also
MongoDB\Driver\Session::isInTransactionMongoDB\Driver\Session::getTransactionOptions