Module database

Source

Functionsยง

abort_transaction
Abort the transaction in the given session.
commit_transaction
Commit the transaction in the given session.
disconnect
Disconnect the connection to the MongoDB cluster.
get
Get the handle of the database. If the client is not connected to the MongoDB cluster, establish a new connection and return the handle of the database.
start_transaction
Start the transaction in a new session.