Summary
In this chapter, we went through advanced querying concepts while using Ruby, Python, and PHP alongside the official drivers and an ODM.
Using Ruby and the Mongoid ODM, Python and the PyMODM ODM, and PHP and the Doctrine ODM, we went through code samples to explore how to create
, read
, update
, and delete
documents.
We also discussed batching operations for performance and best practices. We presented an exhaustive list of comparison and update operators that MongoDB uses.
Following that, we discussed smart querying, how cursors in querying work, what our storage performance considerations should be on delete, and how to use regular expressions.
Next, we discussed change streams and how we can use them to subscribe and receive updates in our database in real time.
Finally, we learned about one of the major features that was introduced in MongoDB 6: queryable encryption.
In the next chapter, we will learn about the aggregation...