MongoDB\Driver\Session::getTransactionState

(mongodb >=1.7.0)

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

说明

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

Returns the transaction state for this session.

参数

此函数没有参数。

返回值

Returns the current transaction state for this session.

错误/异常

参见

add a note add a note

User Contributed Notes

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