Docs Menu
Docs Home
/
MongoDB Manual
/ /

Sessions Commands

Note

For details on a specific command, including syntax and examples, click on the link to the command's reference page.

Command
Description
Atlas Support
abortTransaction
Abort transaction.
Yes
Commit transaction.
Yes

Expire sessions before the sessions' timeout period.

New in version 3.6.

Yes

Kill all sessions.

New in version 3.6.

No support for M0, M2, M5 and M10 clusters.
Kill all sessions that match the specified pattern

No support for M0, M2, and M5 clusters.

New in version 3.6.

Kill specified sessions.

New in version 3.6.

Refresh idle sessions.

New in version 3.6.

Yes

Starts a new session.

New in version 3.6.

Yes

Back

updateZoneKeyRange

Next

abortTransaction