Class VariableExpressions
java.lang.Object
dev.morphia.aggregation.expressions.VariableExpressions
Defines helper methods for the variable expressions
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic LetExpression
let
(Expression in) Binds variables for use in the specified expression, and returns the result of the expression.
-
Method Details
-
let
Binds variables for use in the specified expression, and returns the result of the expression.- Parameters:
in
- the expression to evaluate. variables can be defined using theLetExpression.variable(String, Expression)
method- Returns:
- the new expression
- MongoDB documentation
- Aggregration Expression: $let
-