Docs HomeMongoDB Manual

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.

NameDescription
deleteDeletes one or more documents.
findSelects documents in a collection or a view.
findAndModifyReturns and modifies a single document.
getLastErrorRemoved in MongoDB 5.1.
getMoreReturns batches of documents currently pointed to by the cursor.
insertInserts one or more documents.
resetErrorRemoved in MongoDB 5.0. Resets the last error status.
updateUpdates one or more documents.