« MongoDB\Driver\Session::getTransactionState
MongoDB\Driver\Session::isInTransaction »

MongoDB\Driver\Session::isDirty

(mongodb >=1.13.0)

MongoDB\Driver\Session::isDirty — Returns whether the session has been marked as dirty

説明

final public function MongoDB\Driver\Session::isDirty(): bool

Returns whether the session has been marked as dirty (i.e. it has been used with a command that encountered a network error).

パラメータ

この関数にはパラメータはありません。

戻り値

Returns whether the session has been marked as dirty.

エラー / 例外

関連キーワード:
MongoDB   Driver   Session   whether   session   marked   isDirty   getTransactionState   isInTransaction   mongodb   final   used   command   encountered   network   Throws   Exception   InvalidArgumentException   argument   parsing   errors
関連する関数・ページ:
mongodb-driver-session.gettransactionstate   mongodb-driver-session.construct   mongodb-driver-session.endsession   mongodb-driver-session.isintransaction   mongodb-driver-session.getlogicalsessionid   mongodb-driver-session.getoperationtime