CBLQueryFunction
@interface CBLQueryFunction : NSObjectCBLQueryFunction provides query functions.
- 
                  
                  Creates an AVG(expr) function expression that returns the average of all the number values in the group of the values expressed by the given expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)avg:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe expression. Return ValueThe AVG(expr) function. 
- 
                  
                  Creates a COUNT(expr) function expression that returns the count of all values in the group of the values expressed by the given expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)count:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe expression. Return ValueThe COUNT(expr) function. 
- 
                  
                  Creates a MIN(expr) function expression that returns the minimum value in the group of the values expressed by the given expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)min:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe expression. Return ValueThe MIN(expr) function. 
- 
                  
                  Creates a MAX(expr) function expression that returns the maximum value in the group of the values expressed by the given expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)max:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe expression. Return ValueThe MAX(expr) function. 
- 
                  
                  Creates a SUM(expr) function expression that return the sum of all number values in the group of the values expressed by the given expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)sum:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe expression. Return ValueThe SUM(expr) function. 
- 
                  
                  Creates an ABS(expr) function that returns the absolute value of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)abs:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe ABS(expr) function. 
- 
                  
                  Creates an ACOS(expr) function that returns the inverse cosine of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)acos:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe ACOS(expr) function. 
- 
                  
                  Creates an ASIN(expr) function that returns the inverse sin of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)asin:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe ASIN(expr) function. 
- 
                  
                  Creates an ATAN(expr) function that returns the inverse tangent of the numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)atan:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe ATAN(expr) function. 
- 
                  
                  Creates an ATAN2(X, Y) function that returns the arctangent of y/x. DeclarationObjective-C + (nonnull CBLQueryExpression *)atan2:(nonnull CBLQueryExpression *)x y:(nonnull CBLQueryExpression *)y;ParametersxThe expression to evaluate as the X coordinate. yThe expression to evaluate as the Y coordinate. Return ValueThe ATAN2(X, Y) function. 
- 
                  
                  Creates a CEIL(expr) function that returns the ceiling value of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)ceil:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe CEIL(expr) function. 
- 
                  
                  Creates a COS(expr) function that returns the cosine of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)cos:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe COS(expr) function. 
- 
                  
                  Creates a DEGREES(expr) function that returns the degrees value of the given radiants value expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)degrees: (nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression to evaluate as a radiants value. Return ValueThe DEGREES(expr) function. 
- 
                  
                  Creates a E() function that return the value of the mathemetical constant ‘e’. DeclarationObjective-C + (nonnull CBLQueryExpression *)e;Return ValueThe E() constant function. 
- 
                  
                  Creates a EXP(expr) function that returns the value of ‘e’ power by the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)exp:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe EXP(expr) function. 
- 
                  
                  Creates a FLOOR(expr) function that returns the floor value of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)floor:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe FLOOR(expr) function. 
- 
                  
                  Creates a LN(expr) function that returns the natural log of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)ln:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe LN(expr) function. 
- 
                  
                  Creates a LOG(expr) function that returns the base 10 log of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)log:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe LOG(expr) function. 
- 
                  
                  Creates a PI() function that returns the mathemetical constant Pi. DeclarationObjective-C + (nonnull CBLQueryExpression *)pi;Return ValueThe PI() constant function. 
- 
                  
                  Creates a POWER(base, exponent) function that returns the value of the given base expression power the given exponent expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)power:(nonnull CBLQueryExpression *)base exponent:(nonnull CBLQueryExpression *)exponent;ParametersbaseThe base expression. exponentThe exponent expression. Return ValueThe POWER(base, exponent) function. 
- 
                  
                  Creates a RADIANS(expr) function that returns the radians value of the given degrees value expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)radians: (nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression to evaluate as a degrees value. Return ValueThe RADIANS(expr) function. 
- 
                  
                  Creates a ROUND(expr) function that returns the rounded value of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)round:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe ROUND(expr) function. 
- 
                  
                  Creates a ROUND(expr, digits) function that returns the rounded value to the given number of digits of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)round:(nonnull CBLQueryExpression *)expression digits:(nonnull CBLQueryExpression *)digits;ParametersexpressionThe numeric expression. digitsThe number of digits. Return ValueThe ROUND(expr, digits) function. 
- 
                  
                  Creates a SIGN(expr) function that returns the sign (1: positive, -1: negative, 0: zero) of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)sign:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe SIGN(expr) function. 
- 
                  
                  Creates a SIN(expr) function that returns the sin of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)sin:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe SIN(expr) function. 
- 
                  
                  Creates a SQRT(expr) function that returns the square root of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)sqrt:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe SQRT(expr) function. 
- 
                  
                  Creates a TAN(expr) function that returns the tangent of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)tan:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe TAN(expr) function. 
- 
                  
                  Creates a TRUNC(expr) function that truncates all of the digits after the decimal place of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)trunc:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe numeric expression. Return ValueThe trunc function. 
- 
                  
                  Creates a TRUNC(expr, digits) function that truncates the number of the digits after the decimal place of the given numeric expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)trunc:(nonnull CBLQueryExpression *)expression digits:(nonnull CBLQueryExpression *)digits;ParametersexpressionThe numeric expression. digitsThe number of digits. Return ValueThe TRUNC(expr, digits) function. 
- 
                  
                  Creates a CONTAINS(expr, substr) function that evaluates whether the given string expression conatins the given substring expression or not. DeclarationObjective-C + (nonnull CBLQueryExpression *) contains:(nonnull CBLQueryExpression *)expression substring:(nonnull CBLQueryExpression *)substring;ParametersexpressionThe string expression. substringThe substring expression. Return ValueThe CONTAINS(expr, substr) function. 
- 
                  
                  Creates a LENGTH(expr) function that returns the length of the given string expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)length:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe string expression. Return ValueThe LENGTH(expr) function. 
- 
                  
                  Creates a LOWER(expr) function that returns the lowercase string of the given string expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)lower:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe string expression. Return ValueThe LOWER(expr) function. 
- 
                  
                  Creates a LTRIM(expr) function that removes the whitespace from the beginning of the given string expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)ltrim:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe string expression. Return ValueThe LTRIM(expr) function. 
- 
                  
                  Creates a RTRIM(expr) function that removes the whitespace from the end of the given string expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)rtrim:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe string expression. Return ValueThe RTRIM(expr) function. 
- 
                  
                  Creates a TRIM(expr) function that removes the whitespace from the beginning and ‘ the end of the given string expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)trim:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe string expression. Return ValueThe TRIM(expr) function. 
- 
                  
                  Creates a UPPER(expr) function that returns the uppercase string of the given string expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)upper:(nonnull CBLQueryExpression *)expression;ParametersexpressionThe string expression. Return ValueThe UPPER(expr) function. 
- 
                  
                  Not available DeclarationObjective-C - (nonnull instancetype)init;
 CBLQueryFunction Class Reference
        CBLQueryFunction Class Reference