| 
 | MongoDB\Driver\Session::startTransactionStarts a transaction Description
   final public void MongoDB\Driver\Session::startTransaction(arraynull  $options=null)
   Starts a multi-document transaction associated with the session. At any given
   time, you can have at most one open transaction for a session. After starting
   a transaction, the session object must be passed to each operation via
   the  Transactions can be committed through MongoDB\Driver\Session::commitTransaction, and aborted with MongoDB\Driver\Session::abortTransaction. Transactions are also automatically aborted when the session is closed from garbage collection or by explicitly calling MongoDB\Driver\Session::endSession. Parameters
 Return ValuesNo value is returned. Errors/Exceptions
 Changelog
 
 See Also
 |