MongoDB.local SF, Jan 15: See the speaker lineup & ship your AI vision faster. Use WEB50 to save 50%
Find out more >
Docs Menu
Docs Home
/ /
Database Commands

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.

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.

Back

mapReduce