Query and Write Operation Commands
MongoDB 5.0 is end of life as of October 2024. This version of the documentation is no longer
supported. To upgrade your 5.0 deployment, see the MongoDB 6.0 upgrade procedures.
Note
For details on a specific command, including syntax and examples, click on the link to the command's reference page.
Name | Description |
---|---|
Deletes one or more documents. | |
Selects documents in a collection or a view. | |
Returns and modifies a single document. | |
Removed in MongoDB 5.1. | |
Returns batches of documents currently pointed to by the cursor. | |
Inserts one or more documents. | |
Removed in MongoDB 5.0. Resets the last error status. | |
Updates one or more documents. |