Class VariableExpressions


  • public final class VariableExpressions
    extends Object
    Defines helper methods for the variable expressions
    Since:
    2.0
    • 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 the LetExpression.variable(String, Expression) method
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $let