(mongodb >=1.4.0)
La classe MongoDB\Driver\Session reprĂ©sente une session client et est retournĂ©e par MongoDB\Driver\Manager::startSession(). Les commandes, les requĂȘtes et les opĂ©rations d'Ă©criture peuvent ensuite ĂȘtre associĂ©es Ă la session.
MongoDB\Driver\Session::TRANSACTION_NONEMongoDB\Driver\Session::TRANSACTION_STARTINGMongoDB\Driver\Session::TRANSACTION_IN_PROGRESSMongoDB\Driver\Session::TRANSACTION_COMMITTEDMongoDB\Driver\Session::TRANSACTION_ABORTED