CBLQueryExpression
@interface CBLQueryExpression : NSObjectA CBLQueryExpression represents an expression used for constructing a query statement.
- 
                  
                  Creates a property expression representing the value of the given property name. DeclarationObjective-C + (nonnull CBLQueryExpression *)property:(nonnull NSString *)property;Swift class func property(_ property: String) -> CBLQueryExpressionParameterspropertyThe property name in the key path format. Return ValueThe property expression. 
- 
                  
                  Creates a property expression representing the value of the given property name. DeclarationObjective-C + (nonnull CBLQueryExpression *)property:(nonnull NSString *)property from:(nullable NSString *)alias;Swift class func property(_ property: String, from alias: String?) -> CBLQueryExpressionParameterspropertyProperty name in the key path format. aliasThe data source alias name. Return ValueThe property expression. 
- 
                  
                  Creates a * expression to express all properties. DeclarationObjective-C + (nonnull CBLQueryExpression *)all;Swift class func all() -> CBLQueryExpressionReturn ValueThe star expression. 
- 
                  
                  Creates a * expression to express all properties of the given datasource. DeclarationObjective-C + (nonnull CBLQueryExpression *)allFrom:(nullable NSString *)alias;Swift class func all(from alias: String?) -> CBLQueryExpressionParametersaliasThe data source alias name. Return ValueThe star expression. 
- 
                  
                  Creates a value expresion. The supported value types are NSString, NSNumber, NSInteger, long long, float, double, boolean, NSDate and null. DeclarationObjective-C + (nonnull CBLQueryExpression *)value:(nullable id)value;Swift class func value(_ value: Any?) -> CBLQueryExpressionParametersvalueThe value. Return ValueThe value expression. 
- 
                  
                  Creates a string expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)string:(nullable NSString *)value;Swift class func string(_ value: String?) -> CBLQueryExpressionParametersvalueThe string value. Return ValueThe string expression. 
- 
                  
                  Creates a number expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)number:(nullable NSNumber *)value;Swift class func number(_ value: NSNumber?) -> CBLQueryExpressionParametersvalueThe number value. Return ValueThe number expression. 
- 
                  
                  Creates an integer expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)integer:(NSInteger)value;Swift class func integer(_ value: Int) -> CBLQueryExpressionParametersvalueThe integer value. Return ValueThe integer expression. 
- 
                  
                  Creates a long long expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)longLong:(long long)value;Swift class func longLong(_ value: Int64) -> CBLQueryExpressionParametersvalueThe long long value. Return ValueThe long long expression. 
- 
                  
                  Creates a float expression. DeclarationObjective-C + (nonnull CBLQueryExpression *) float:(float)value;Swift class func float(_ value: Float) -> CBLQueryExpressionParametersvalueThe float value. Return ValueThe float expression. 
- 
                  
                  Creates a double expression. DeclarationObjective-C + (nonnull CBLQueryExpression *) double:(double)value;Swift class func double(_ value: Double) -> CBLQueryExpressionParametersvalueThe double value. Return ValueThe double expression. 
- 
                  
                  Creates a boolean expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)boolean:(BOOL)value;Swift class func boolean(_ value: Bool) -> CBLQueryExpressionParametersvalueThe boolean value. Return ValueThe boolean expression. 
- 
                  
                  Creates a date expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)date:(nullable NSDate *)value;Swift class func date(_ value: Date?) -> CBLQueryExpressionParametersvalueThe date value. Return ValueThe date expression. 
- 
                  
                  Creates a parameter expression with the given parameter name. DeclarationObjective-C + (nonnull CBLQueryExpression *)parameterNamed:(nonnull NSString *)name;Swift class func parameterNamed(_ name: String) -> CBLQueryExpressionParametersnameThe parameter name Return ValueThe parameter expression. 
- 
                  
                  Creates a negated expression representing the negated result of the given expression. DeclarationObjective-C + (nonnull CBLQueryExpression *)negated: (nonnull CBLQueryExpression *)expression;Swift class func negated(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be negated. Return ValueThe negated expression. 
- 
                  
                  Creates a negated expression representing the negated result of the given expression. DeclarationObjective-C + (nonnull CBLQueryExpression *) not:(nonnull CBLQueryExpression *)expression;Swift class func not(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be negated. Return ValueThe negated expression. 
- 
                  
                  Creates a multiply expression to multiply the current expression by the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)multiply: (nonnull CBLQueryExpression *)expression;Swift func multiply(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be multipled by. Return ValueThe multiply expression. 
- 
                  
                  Creates a divide expression to divide the current expression by the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)divide:(nonnull CBLQueryExpression *)expression;Swift func divide(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be devided by. Return ValueThe divide expression. 
- 
                  
                  Creates a modulo expression to modulo the current expression by the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)modulo:(nonnull CBLQueryExpression *)expression;Swift func modulo(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be moduloed by. Return ValueThe modulo expression. 
- 
                  
                  Creates an add expression to add the given expression to the current expression . DeclarationObjective-C - (nonnull CBLQueryExpression *)add:(nonnull CBLQueryExpression *)expression;Swift func add(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to add to the current expression. Return ValueThe add expression. 
- 
                  
                  Creates a subtract expression to subtract the given expression from the current expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)subtract: (nonnull CBLQueryExpression *)expression;Swift func subtract(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to substract from the current expression. Return ValueThe subtract expression. 
- 
                  
                  Creates a less than expression that evaluates whether or not the current expression is less than the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)lessThan: (nonnull CBLQueryExpression *)expression;Swift func lessThan(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be compared with the current expression. Return ValueThe less than expression. 
- 
                  
                  Creates a less than or equal to expression that evaluates whether or not the current expression is less than or equal to the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)lessThanOrEqualTo: (nonnull CBLQueryExpression *)expression;Swift func lessThanOrEqual(to expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be compared with the current expression. Return ValueThe less than or equal to expression. 
- 
                  
                  Creates a greater than expression that evaluates whether or not the current expression is greater than the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)greaterThan: (nonnull CBLQueryExpression *)expression;Swift func greaterThan(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be compared with the current expression. Return ValueThe greater than expression. 
- 
                  
                  Creates a greater than or equal to expression that evaluates whether or not the current expression is greater than or equal to the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)greaterThanOrEqualTo: (nonnull CBLQueryExpression *)expression;Swift func greaterThanOrEqual(to expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be compared with the current expression. Return ValueThe greater than or equal to expression. 
- 
                  
                  Creates an equal to expression that evaluates whether or not the current expression is equal to the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)equalTo: (nonnull CBLQueryExpression *)expression;Swift func equal(to expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be compared with the current expression. Return ValueThe equal to expression. 
- 
                  
                  Creates a NOT equal to expression that evaluates whether or not the current expression is not equal to the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)notEqualTo: (nonnull CBLQueryExpression *)expression;Swift func notEqual(to expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be compared with the current expression. Return ValueThe NOT equal to expression. 
- 
                  
                  Creates a Like expression that evaluates whether or not the current expression is LIKE the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)like:(nonnull CBLQueryExpression *)expression;Swift func like(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be compared with the current expression. Return ValueThe Like expression. 
- 
                  
                  Creates a regex match expression that evaluates whether or not the current expression regex matches the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)regex:(nonnull CBLQueryExpression *)expression;Swift func regex(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be compared with the current expression. Return ValueThe regex match expression. 
- 
                  
                  Creates an IS expression that evaluates whether or not the current expression is equal to the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)is:(nonnull CBLQueryExpression *)expression;Swift func `is`(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be compared with the current expression. Return ValueThe IS expression. 
- 
                  
                  Creates an IS NOT expression that evaluates whether or not the current expression is not equal to the given expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)isNot:(nonnull CBLQueryExpression *)expression;Swift func isNot(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to be compared with the current expression. Return ValueThe IS NOT expression. 
- 
                  
                  Creates an IS NULL OR MISSING expression that evaluates whether or not the current expression is null or missing. DeclarationObjective-C - (nonnull CBLQueryExpression *)isNullOrMissing;Swift func isNullOrMissing() -> CBLQueryExpressionReturn ValueThe IS NULL OR MISSING expression. 
- 
                  
                  Creates an IS NOT NULL OR MISSING expression that evaluates whether or not the current expression is NOT null or missing. DeclarationObjective-C - (nonnull CBLQueryExpression *)notNullOrMissing;Swift func notNullOrMissing() -> CBLQueryExpressionReturn ValueThe IS NOT NULL OR MISSING expression. 
- 
                  
                  Creates a logical AND expression that performs logical AND operation with the current expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)andExpression: (nonnull CBLQueryExpression *)expression;Swift func andExpression(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to AND with the current expression. Return ValueThe logical AND expression. 
- 
                  
                  Creates a logical OR expression that performs logical OR operation with the current expression. DeclarationObjective-C - (nonnull CBLQueryExpression *)orExpression: (nonnull CBLQueryExpression *)expression;Swift func orExpression(_ expression: CBLQueryExpression) -> CBLQueryExpressionParametersexpressionThe expression to OR with the current expression. Return ValueThe logical OR Expression. 
- 
                  
                  Creates a between expression that evaluates whether or not the current expression is between the given expressions inclusively. DeclarationObjective-C - (nonnull CBLQueryExpression *) between:(nonnull CBLQueryExpression *)expression1 and:(nonnull CBLQueryExpression *)expression2;Swift func between(_ expression1: CBLQueryExpression, and expression2: CBLQueryExpression) -> CBLQueryExpressionParametersexpression1The inclusive lower bound expression. expression2The inclusive upper bound expression. Return ValueThe between expression. 
- 
                  
                  Creates an IN expression that evaluates whether or not the current expression is in the given expressions. DeclarationObjective-C - (nonnull CBLQueryExpression *)in: (nonnull NSArray<CBLQueryExpression *> *)expressions;Swift func `in`(_ expressions: [CBLQueryExpression]) -> CBLQueryExpressionParametersexpressionsThe expression array to be evaluated with. Return ValueThe IN exprssion. 
- 
                  
                  Creates a collate expression with the given Collation specification. Commonly the collate expression is used in the Order BY clause or the string comparison expression (e.g. equalTo or lessThan) to specify how the two strings are compared. DeclarationObjective-C - (nonnull CBLQueryExpression *)collate:(nonnull CBLQueryCollation *)collation;Swift func collate(_ collation: CBLQueryCollation) -> CBLQueryExpressionParameterscollationThe Collation object. Return ValueThe collate expression. 
- 
                  
                  Not available. DeclarationObjective-C - (nonnull instancetype)init;
 CBLQueryExpression Class Reference
        CBLQueryExpression Class Reference