MongoDB\Driver\Session::getTransactionState
PHP Manual
PHP Manual»MongoDB\Driver\Session»MongoDB\Driver\Session::getTransactionState

MongoDB\Driver\Session::getTransactionState

(mongodb >=1.7.0)

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

Description

final public function 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

To Top