14. Manipulating MongoDB Documents from Node.js

In Chapter 13, “Getting Started with MongoDB and Node.js,” you learned the fundamentals of using the MongoDB Node.js driver to manage and manipulate databases and collections. This chapter expands on those concepts, describing manipulation of documents within collections. As described in Chapter 13, the MongoDB Node.js driver provides a lot of functionality in the Collection class, which allows you to insert, access, modify, and remove documents from collections.

This chapter is broken into sections that describe the basic document management tasks you perform on collections, including insertions and deletions. This chapter introduces you to the options that control the behavior of write requests to the database. You will also learn about the update structure that MongoDB allows you to use to update documents rather than the long, complex query strings you may have seen in SQL.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.208.181