This page shows the driver syntax for several MongoDB commands and links to their related reference and API documentation.
You can use the Node.js driver to connect and execute commands for deployments hosted in the following environments:
MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud
MongoDB Enterprise: The subscription-based, self-managed version of MongoDB
MongoDB Community: The source-available, free-to-use, and self-managed version of MongoDB
To learn more about performing common CRUD operations in the Atlas UI for deployments hosted in MongoDB Atlas, see Create, View, Update, and Delete Documents.
Access Data from a Cursor Iteratively
Install the Driver Dependency