PHP 8.4.2 Released!

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.

错误/异常

参见

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top