For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
MongoDB Branding Shape
Click Here!
Docs Menu

CRUD Commands

CRUD commands create, read, update, and delete documents.

Name
Description

Runs an aggregation pipeline on a collection or view.

Performs many insert, update, and delete operations on multiple collections in one request.

New in version 8.0.

Counts documents in a collection or view.

Deletes one or more documents.

Returns distinct values in a specified field from a collection or view.

Selects documents in a collection or view.

Returns and modifies a single document.

Inserts one or more documents.

Performs map-reduce aggregation.

Updates one or more documents.

Rate this page