« MongoDB\Driver\Session
MongoDB\Driver\Session::advanceClusterTime »

MongoDB\Driver\Session::abortTransaction

(mongodb >=1.5.0)

MongoDB\Driver\Session::abortTransaction — Aborts a transaction

説明

final public function MongoDB\Driver\Session::abortTransaction(): void

Terminates the multi-document transaction and rolls back any data changes made by the operations within the transaction. That is, the transaction ends without saving any of the changes made by the operations in the transaction.

パラメータ

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

戻り値

値を返しません。

エラー / 例外

参考

関連キーワード:
transaction   MongoDB   Driver   Session   Aborts   abortTransaction   changes   made   operations   Throws   Exception   client   advanceClusterTime   mongodb   final   Terminates   multi   document   rolls   back   within   ends   without   saving   InvalidArgumentException
関連する関数・ページ:
mongodb-driver-session.committransaction   mongodb-driver-session.gettransactionstate   mongodb-driver-session.endsession   mongodb-driver-session.gettransactionoptions   class.mongodb-driver-session   mongodb-driver-session.starttransaction