Overview
OverviewQuery language for DocumentDB (in Azure) documentation
Learn about the open-source DocumentDB platform and the MongoDB Query Language (MQL) used by Azure DocumentDB. Build modern MongoDB-compatible applications with familiar MQL syntax.
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
Aggregation commands process data records and return computed results. They group values from multiple documents, perform operations on the grouped data, and return a single result. Common aggregation tasks include calculating averages, sums, and counts.
Query and Write
Query and write commands allow you to retrieve, insert, update, and delete documents in your DocumentDB collections. These operations are fundamental for interacting with your data, enabling you to perform CRUD (Create, Read, Update, Delete) tasks efficiently.
Operators
MongoDB Query Language (MQL) operators enable powerful filtering, comparison, and data manipulation within queries. Mastering these operators helps you write expressive queries to efficiently retrieve and update documents in your collections.
Aggregation
Aggregation operators are used to perform operations on grouped data in aggregation pipelines.
Array Expression
Array expression operators perform operations on arrays and array elements.
Array Query
Array query operators are used to query and filter array elements.
Bitwise Query
Bitwise query operators are used to query and filter based on bitwise operations.
Data Size
Data size operators are used to determine the size of data structures and values.
Date Expression
Date expression operators perform operations on date and time values.
Field Update
Field update operators are used to modify specific fields in documents during update operations.
Geospatial
Geospatial operators perform operations on geographic data and spatial relationships.