From the course: MongoDB Python Developer Associate Cert Prep
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Transactions review
From the course: MongoDB Python Developer Associate Cert Prep
Transactions review
- Now you understand the basics of transactions in MongoDB. In this unit, we learned that ACID transactions ensure database operations, like transferring funds from one customer's account to another, happen all together, or not at all. We defined transactions, defined the ACID acronym, and looked at use cases for transactions. Then we covered how MongoDB supports both single document and multi-document ACID transactions. Finally, we learned how to use multi-document transactions and abort those multi-document transactions if necessary. Now that you've learned to complete a transaction with a session in the shell, you might want to learn more about how to use multi-document transactions with one of MongoDB's drivers. You can review MongoDB's documentation on using ACID transactions with a specific language driver, or check out one of MongoDB's drivers' courses for more information. Congratulations on completing this unit on…