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
$meta
Set Expression
Timestamp Expression
Variable Expression
Window Operators
Reference/Operators/Projection

MongoDB Query Language (MQL) Projection Operators

Projection operators control which fields are returned in query results and can add metadata to the output. These operators help optimize query performance by limiting returned data and enable access to query metadata such as text search scores.

$meta

The $meta operator returns a calculated metadata column with returned dataset.

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.