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
$mergeObjects
$objectToArray
$setField
Projection
Set Expression
Timestamp Expression
Variable Expression
Window Operators
Reference/Operators/Object Expression

MongoDB Query Language (MQL) Object Expression Operators

Object expression operators perform operations on objects and object properties.

$mergeObjects

The $mergeObjects operator merges multiple documents into a single document

$objectToArray

The objectToArray command is used to transform a document (object) into an array of key-value pairs.

$setField

The setField command is used to add, update, or remove fields in embedded documents.

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.