Query and Write Operation Commands¶
For details on specific commands, including syntax and examples, click on the specific command to go to its reference page.
Deletes one or more documents.
Selects documents in a collection or a view.
Returns and modifies a single document.
Returns the success status of the last operation.
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.