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

Aggregation Literal Operators

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.