Skip to content

Glossary: MongoDB

Multi-document transaction

Also written: transaction, transactions

Writes across several documents that all succeed together or are all undone, like `BEGIN`/`COMMIT`/`ROLLBACK` in SQL. It needs a replica set and a session.

Where the book teaches it

Related terms

SessionwithTransactionAtomic