Edit

Share via


Azure Cosmos DB for MongoDB (vCore) commands

This article contains details for various supported commands you can use with Azure Cosmos DB for MongoDB (vCore).

Aggregation

Description
aggregate The aggregate command is used to process data records and return computed results.
count The 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

Description
find The find command in Azure Cosmos DB for MongoDB (vCore) is used to query documents within a collection.
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.