Summary

In this chapter, we started with connecting to MongoDB and writing data. We then went ahead to understand the id property in the context of MongoDB. After learning more about fetching data, we explored different methods to delete data in the documents.

In the next chapter, we will continue to play more with Mongoose, MongoDB, and REST APIs.

Get Advanced Node.js Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.