PHP 8.4.0 RC4 available for testing

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