MongoDB\Driver\Session::getTransactionOptions
Returns options for the currently running transaction
説明
final public arraynull MongoDB\Driver\Session::getTransactionOptions()
戻り値
Returns a array containing current transaction options, or
null
if no transaction is running.
エラー / 例外
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
参考
- MongoDB\Driver\Session::getTransactionState