MongoDB CRUD Operations: Insert and Find Documents
Learn how to create, find, and query MongoDB documents in the mongo shell.
MongoDB CRUD: Insert and Find
Unit Overview
In this unit, you will be introduced to CRUD operations in MongoDB by inserting and finding documents. Inserting and finding documents will help you discover the ease and usability of MongoDB. You'll also build your own queries that use comparison and logical operators. Using operators will make your queries more precise and, in turn, make your application easier to develop. Finally, you'll learn how to query elements in an array. Arrays are a crucial data type that you will encounter frequently, so it's important that you have a solid understanding of how to work with them.
Prerequisites
Lessons in This Unit
- 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
-
01.
-
02.Lesson 2: Finding Documents in a MongoDB Collection
- Learn
- Practice
-
03.Lesson 3: Finding Documents by Using Comparison Operators
- Learn
- Practice
-
04.Lesson 4: Querying on Array Elements in MongoDB
- Learn
- Practice
-
05.Lesson 5: Finding Documents by Using Logical Operators
- Learn
- Practice
-
06.Conclusion
- Learn

Parker Faucher | University Curriculum Engineer
Parker is a Curriculum Engineer on the Education team at MongoDB. Prior to joining MongoDB, he helped maintain a world-class developer boot camp that was offered in multiple universities. He is a self-taught developer who loves being able to give back to the community that has helped him so much.

Emily Pope | Senior Curriculum Designer
Emily is a Senior Curriculum Designer at MongoDB. Prior to MongoDB, Emily worked closely with professors at MIT and Columbia to design bootcamps in full stack development and data science at Emeritus. She also worked as an instructional designer on database and computer science learning experiences at Cengage. Emily loves learning about the everchanging tech space and is passionate about making these skills accessible to a global audience.