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.

MongoDB CRUD operations in Python review

MongoDB CRUD operations in Python review

- In this unit, you learned how BSON documents are represented in Python. You also learned how to perform basic CRUD operations in Python and create a multi-document transaction. When we build a Python application that connects to MongoDB, we want to be able to interact with our data using the application. We also want to leverage the data and make sure our operations are ACID compliant. In this unit, we started by discussing how BSON documents are represented in Python. We saw that for most data types, we can use native Python types when working with MongoDB using PyMongo. Then we moved on to basic CRUD operations in Python. You learned how to insert documents by using insert one and insert many, query documents by using find one and find, update documents by using update one and update many, and delete documents by using delete one and delete many. Finally, you learned how to create a multi-document transaction…

Contents