Sessions Commands
This version of the documentation is archived and no longer
supported. View the current documentation to learn how to
upgrade your version of MongoDB.
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 |
---|---|---|
Abort transaction. New in version 4.0. | Yes | |
Commit transaction. New in version 4.0. | 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. | No support for M0, M2, and M5 clusters. | |
Refresh idle sessions. New in version 3.6. | Yes | |
Starts a new session. New in version 3.6. | Yes |