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(): 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