Functions

  • Abort the transaction in the given session.
  • Commit the transaction in the given session.
  • Disconnect the connection to the MongoDB cluster.
  • 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 the transaction in a new session.