翻译或纠错本页面

Aggregation Literal 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.