Class VariableExpressions
- java.lang.Object
-
- dev.morphia.aggregation.expressions.VariableExpressions
-
public final class VariableExpressions extends Object
Defines helper methods for the variable expressions- Since:
- 2.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static dev.morphia.aggregation.expressions.impls.LetExpression
let(dev.morphia.aggregation.expressions.impls.Expression in)
Binds variables for use in the specified expression, and returns the result of the expression.
-
-
-
Method Detail
-
let
public static dev.morphia.aggregation.expressions.impls.LetExpression let(dev.morphia.aggregation.expressions.impls.Expression in)
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
-
-