(mongodb >=1.7.0)
MongoDB\Driver\Session::getTransactionOptions — Returns options for the currently running transaction
Returns options for the currently running transaction.
此函数没有参数。
Returns a array containing current transaction options, or
null
if no transaction is running.