Need Assistance?

support@tutorialshub.in

Transactions, Replication & Sharding

Multi-Document ACID Transactions

ADVERTISEMENT
MongoDB Free Lesson
5 min read
ADVERTISEMENT

Single-document writes in MongoDB are always atomic. When you need all-or-nothing updates across multiple documents or collections (such as transferring money between two accounts), use ACID Transactions (requires a Replica Set or MongoDB Atlas).

ADVERTISEMENT
Hi, I'm Tuby! Here to help you