Query and Write Operation Commands
Note
For details on a specific command, including syntax and examples, click on the link to the command's reference page.
Name | Description |
---|---|
delete | Deletes one or more documents. |
find | Selects documents in a collection or a view. |
findAndModify | Returns and modifies a single document. |
getLastError | Removed in MongoDB 5.1. |
getMore | Returns batches of documents currently pointed to by the cursor. |
insert | Inserts one or more documents. |
resetError | Removed in MongoDB 5.0. Resets the last error status. |
update | Updates one or more documents. |