Summary
This chapter explored the basics of CRUD operations. Starting from mongosh
, you learned how to insert, delete, read, and modify documents, and learned the difference between one-off inserts and inserting data in batches for performance. Additionally, the chapter discussed administration tasks and how to perform them in mongosh
. Finally, the chapter briefly covered security and authentication with MongoDB, the new versioning scheme, and the new shell, mongosh
.
The next chapter will explore MongoDB schema design principles and techniques for effective data representation—essential for optimizing performance and scalability.