Share via


Query and write - commands

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.

Description
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