Understanding the Objects Used in the MongoDB Node.js Driver

The MongoDB Node.js driver makes heavy use of structured objects to interact with the database. You have already seen how the MongoClient object provides interactions to connect to the database. There are also objects that represent interactions with the database, collection, administrative functions, and cursors.

The following sections discuss each of these objects and provide the fundamentals of using them to implement database functionality in your Node.js applications. You will get more exposure to these objects and methods in the next few chapters as well.

Get Node.js, MongoDB, and AngularJS Web 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.