Conclusion / Learn

MongoDB CRUD Operations in Python

In this unit, you learned how to:

  • Represent BSON documents in Python.
  • 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().
  • Delete documents by using delete_one() and delete_many().
  • Create a multi-document transaction.


Resources

Use the following resources to learn more about performing CRUD operations by using Python:

Lesson 01: Working with MongoDB Documents in Python

Lesson 02: Inserting a Document in Python Applications

Lesson 03: Querying a MongoDB Collection in Python Applications

Lesson 04: Updating Documents in Python Applications

Lesson 05: Deleting Documents in Python Applications

Lesson 06: Creating MongoDB Transactions in Python Applications


Python MongoDB Drivers Course

By completing this unit, you've taken a step toward completing the Python MongoDB Drivers course.

If you're interested in continuing, the next step is to review the following unit:

  • Unit 03: MongoDB Aggregation with Python