课程: Introduction to MongoDB

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

MongoDB CRUD operations: Insert and find documents review

MongoDB CRUD operations: Insert and find documents review - MongoDB教程

课程: Introduction to MongoDB

MongoDB CRUD operations: Insert and find documents review

- In this unit, you learned how to insert and find documents in a collection with MongoDB. You also learned how to build your own queries with different comparison operators, such as $gt, greater than, $lt, less than, $lte, less than, or equal to, and $gte, greater than, or equal to, and logical operators, such as $and and $or. Operators give us more control over the results of our queries, which in turn makes our applications easier to develop. Sometimes, the right operator will make your query more specific, more accurate, and more performant. Finally, you learned how to query elements in an array, and how to use the $elemMatch operator. Congratulations on completing this unit. Now you can successfully insert and find documents in a collection. As a next step, you can explore additional tasks, such as updating and deleting documents. This will allow you to perform all crowd operations in MongoDB.

内容