MongoDB\Driver\Session::getTransactionState

(mongodb >=1.7.0)

MongoDB\Driver\Session::getTransactionStateReturns the current transaction state for this session

Description

final public MongoDB\Driver\Session::getTransactionState ( void ) : string

Returns the transaction state for this session.

Parameters

This function has no parameters.

Return Values

Returns the current transaction state for this session.

Errors/Exceptions

See Also