Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Let

Index

Properties

Properties

$let: { vars: {}; in: any }

Binds variables for use in the specified expression, and returns the result of the expression.

version

5.0

see

https://docs.mongodb.com/manual/reference/operator/aggregation/let/#mongodb-expression-exp.-let

Type declaration

  • vars: {}

    Assignment block for the variables accessible in the in expression. To assign a variable, specify a string for the variable name and assign a valid expression for the value.

  • in: any

    The expression to evaluate.

Generated using TypeDoc