(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_NONE
Il n'y a pas de transaction en cours.
MongoDB\Driver\Session::TRANSACTION_STARTING
Une transaction a été démarrée, mais aucune opération n'a été envoyée au serveur.
MongoDB\Driver\Session::TRANSACTION_IN_PROGRESS
Une transaction est en cours.
MongoDB\Driver\Session::TRANSACTION_COMMITTED
Une transaction a été validée.
MongoDB\Driver\Session::TRANSACTION_ABORTED
Une transaction a été annulée.
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant