New in version 3.6.
The Session object for the connection in the
mongoshell. To instantiate a session for the connection in the
Mongo.startSession(). For more information on sessions, see Client Sessions and Causal Consistency Guarantees.
Method Description Access the specified database from the session in the
Updates the cluster time tracked by the session. Updates the operation time. Ends the session. Returns a boolean that specifies whether the session has ended. Returns the most recent cluster time as seen by the session. Applicable for replica sets and sharded clusters only. Returns the timestamp of the last acknowledged operation for the session. Access the options for the session. For the available options, see