org.springframework.data.mongodb.core.aggregation

Interface ConditionalOperators.IfNull.ThenBuilder

    • Method Detail

      • then

        ConditionalOperators.IfNull then(Object value)
        Parameters:
        value - the value to be used if the $ifNull condition evaluates true. Can be a Document, a value that is supported by MongoDB or a value that can be converted to a MongoDB representation but must not be null.
        Returns:
      • thenValueOf

        ConditionalOperators.IfNull thenValueOf(String fieldReference)
        Parameters:
        fieldReference - the field holding the replacement value, must not be null.
        Returns: