MongoDB\Driver\Session::getTransactionState
Returns the current transaction state for this session
説明
final public string MongoDB\Driver\Session::getTransactionState()
戻り値
Returns the current transaction state for this session.
エラー / 例外
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
参考
- MongoDB\Driver\Session::isInTransaction
- MongoDB\Driver\Session::getTransactionOptions