DocumentDB LogoDocumentDB
HomeGitHubDiscordDocsPackagesBlogs
Back to DocumentationMQL Documentation
Commands
Aggregation
Query And Write
Operators
Accumulators
Aggregation
Arithmetic Expression
Array Expression
Array Query
Array Update
Bitwise
Bitwise Query
Bitwise Update
Comparison Query
Conditional Expression
Data Size
Date Expression
Element Query
Evaluation Query
Field Update
Geospatial
Literal Expression
Logical Query
Miscellaneous
Miscellaneous Query
Object Expression
Projection
Set Expression
Timestamp Expression
Variable Expression
Window Operators
Reference/Commands

MongoDB Query Language (MQL) Commands

MongoDB Query Language (MQL) commands are direct instructions for managing and interacting with your database server. They are essential for performing administrative tasks, optimizing performance, and maintaining security.

Aggregation

Aggregate

The aggregate command is used to process data records and return computed results.

Count

Count command is used to count the number of documents in a collection that match a specified query.

Distinct

The distinct command is used to find the unique values for a specified field across a single collection.

Query And Write

delete

The delete command in DocumentDB deletes documents that match a specified criteria

find

The find command in DocumentDB returns documents that match a specified filter criteria

FindAndModify

The findAndModify command is used to atomically modify and return a single document.

GetMore

The getMore command is used to retrieve extra batches of documents from an existing cursor.

insert

The insert command in DocumentDB creates new documents in a collection

update

The update commands in DocumentDB modify documents within a collection that match specific filters

Copyright © DocumentDB a Series of LF Projects, LLC. For web site terms of use, trademark policy and other project policies please see https://lfprojects.org.