flâneur

Transactions — MongoDB Manual

mongodb.com · 9,368 words · saved by 1 readers

For situations that require atomicity of reads and writes to multiple documents (in a single or multiple collections), MongoDB supports multi-document transactions.

Transactions - Database Manual - MongoDB Docs Docs Menu Ask MongoDB AI Docs Home / Development Docs Home / Development Docs Home / Development Transactions Copy page In MongoDB, an operation on a single document is atomic. Because you can use embedded documents and arrays to capture relationships between data in a single document structure instead of normalizing across multiple documents and collections, multi-document transactions are not necessary for many practical use cases. For situations that require atomicity of operations on multiple documents, MongoDB supports transactions. You can us

related reading