There's more...

There are many ways to work with documents in MongoDB. One other tool worth mentioning is that, similar to the Query API, returned documents have their own Document API. We started exploring some of this API in Chapter 7, MongoDB and Mongoose. This API also provides a range of tools for manipulating, serializing, and working with document relationships. It even provides options for populating document properties after they have been returned:

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

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