This version of the documentation is archived and no longer supported.

Literal Aggregation Operators


For details on specific operator, including syntax and examples, click on the specific operator to go to its reference page.

Name Description
$literal Return a value without parsing. Use for values that the aggregation pipeline may interpret as an expression. For example, use a $literal expression to a string that starts with a $ to avoid parsing as a field path.