CRUD Operations
CRUD (Create, Read, Update, Delete) operations allow you to work with the data stored in MongoDB.
The CRUD operation documentation is categorized in two sections:
Read Operations find and return documents stored within your MongoDB database.
Write Operations insert, modify, or delete documents in your MongoDB database.
Some operations combine aspects of read and write operations. See our guide on compound operations to learn more about these hybrid methods.
Compatibility
You can use the Node.js driver to connect and perform CRUD operations 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 CRUD operations in the Atlas UI for deployments hosted in MongoDB Atlas, see Create, View, Update, and Delete Documents.
Note
If you are looking for additional resources for learning topics related to CRUD, check out the following posts on the MongoDB Developer Hub:
Learn how to apply CRUD Operations with an example scenario.
Analyze data in MongoDB Atlas using the Aggregation Pipeline.