MongoDB\Driver\Session::getTransactionOptions

(mongodb >=1.7.0)

MongoDB\Driver\Session::getTransactionOptionsReturns options for the currently running transaction

说明

final public MongoDB\Driver\Session::getTransactionOptions(): ?array

Returns options for the currently running transaction.

参数

此函数没有参数。

返回值

Returns a array containing current transaction options, or null if no transaction is running.

错误/异常

参见

add a note

User Contributed Notes

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