Class VariableExpressions
- java.lang.Object
-
- dev.morphia.aggregation.experimental.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 LetExpression
let(Expression in)
Binds variables for use in the specified expression, and returns the result of the expression.
-
-
-
Method Detail
-
let
public static LetExpression let(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
-
-