Conclusion / Learn

MongoDB CRUD Operations: Insert and Find Documents

In this unit, you learned how to insert and find documents in a MongoDB collection. You built queries by using the following comparison operators:

  • $gt (greater than)
  • $lt (less than)
  • $lte (less than or equal to)
  • $gte (greater than or equal to)

You also used the following logical operators:

  • $and
  • $or

Finally, you learned how to query elements in an array and how to use the $elemMatch operator.


Resources

Use the following resources to learn more about inserting and finding documents in MongoDB:

Lesson 01: Inserting Documents in a MongoDB Collection

Lesson 02: Finding Documents in a MongoDB Collection

Lesson 03: Finding Documents by Using Comparison Operators

Lesson 04: Querying on Array Elements in MongoDB

Lesson 05: Finding Documents by Using Logical Operators


Associate Certification Course

By completing this unit, you've finished 30% of the CRUD content necessary for the Associate Developer Certification exam.

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

  • Unit 01: Getting Started with MongoDB Atlas
  • Unit 02: The MongoDB Document Model
  • Unit 03: Connecting to a MongoDB Database
  • Unit 05: MongoDB CRUD: Replace and Delete
  • Unit 06: MongoDB CRUD: Reading Query Results
  • Unit 07: MongoDB Aggregation
  • Unit 08: MongoDB Indexes
  • Unit 09: MongoDB Atlas Search
  • Unit 10: MongoDB Data Modeling
  • Unit 11: MongoDB Transactions