Skip to content

Glossary: MongoDB

Session

Also written: startSession

The driver's object for a sequence of related operations, made with `client.startSession()`. A transaction runs inside one, and each call needs `{ session }`.

Where the book teaches it

Related terms

Multi-document transactionwithTransaction