Navigation

Query and Write Operation Commands

Note

For details on specific commands, including syntax and examples, click on the specific command to go to its 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.
←   geoSearch delete  →