PHP 8.4.2 Released!

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top