Expression
public final class ExpressionQuery expression factory.
- 
                  
                  Creates a property expression representing the value of the given property name. DeclarationSwift public static func property(_ property: String) -> PropertyExpressionProtocolParameterspropertyThe property name in the key path format. Return ValueA property expression. 
- 
                  
                  Creates a star expression. DeclarationSwift public static func all() -> PropertyExpressionProtocolReturn ValueA star expression. 
- 
                  
                  Creates a value expression. The supported value types are String, NSNumber, int, int64, float, double, boolean, Date and null. DeclarationSwift public static func value(_ value: Any?) -> ExpressionProtocolParametersvalueThe value. Return ValueThe value expression. 
- 
                  
                  Creates a string expression. DeclarationSwift public static func string(_ value: String?) -> ExpressionProtocolParametersvalueThe string value. Return ValueThe string expression. 
- 
                  
                  Creates a number expression. DeclarationSwift public static func number(_ value: NSNumber?) -> ExpressionProtocolParametersvalueThe number value. Return ValueThe number expression. 
- 
                  
                  Creates an integer expression. DeclarationSwift public static func int(_ value: Int) -> ExpressionProtocolParametersvalueThe integer value. Return ValueThe integer expression. 
- 
                  
                  Creates a 64-bit integer expression. DeclarationSwift public static func int64(_ value: Int64) -> ExpressionProtocolParametersvalueThe 64-bit integer value. Return ValueThe 64-bit integer expression. 
- 
                  
                  Creates a float expression. DeclarationSwift public static func float(_ value: Float) -> ExpressionProtocolParametersvalueThe float value. Return ValueThe float expression. 
- 
                  
                  Creates a double expression. DeclarationSwift public static func double(_ value: Double) -> ExpressionProtocolParametersvalueThe double value. Return ValueThe double expression. 
- 
                  
                  Creates a boolean expression. DeclarationSwift public static func boolean(_ value: Bool) -> ExpressionProtocolParametersvalueThe boolean value. Return ValueThe boolean expression. 
- 
                  
                  Creates a date expression. DeclarationSwift public static func date(_ value: Date?) -> ExpressionProtocolParametersvalueThe date value. Return ValueThe date expression. 
- 
                  
                  Creates a dictionary expression. The supported value types are String, NSNumber, int, int64, float, double, boolean, Date, null and ExpressionProtocol. DeclarationSwift public static func dictionary(_ value: Dictionary<String, Any>?) -> ExpressionProtocolParametersvalueThe dictionary value. Return ValueThe dictionary expression. 
- 
                  
                  Creates an array expression. The supported value types are String, NSNumber, int, int64, float, double, boolean, Date, null and ExpressionProtocol. DeclarationSwift public static func array(_ value: Array<Any>?) -> ExpressionProtocolParametersvalueThe array value. Return ValueThe array expression. 
- 
                  
                  Creates a parameter expression with the given parameter name. DeclarationSwift public static func parameter(_ name: String) -> ExpressionProtocolParametersnameThe parameter name Return ValueA parameter expression. 
- 
                  
                  Creates a negated expression representing the negated result of the given expression. DeclarationSwift public static func negated(_ expression: ExpressionProtocol) -> ExpressionProtocolParametersexpressionThe expression to be negated. Return ValueA negated expression. 
- 
                  
                  Creates a negated expression representing the negated result of the given expression. If the operand isn’t a boolean type, it gets coerced to a boolean. The number 0 is coerced to false, the number 1 is coerced to true, strings are coerced tofalse(but strings prefixed with a number are coerced totrue, for example “2willowroad@nationaltrust.org.uk”).DeclarationSwift public static func not(_ expression: ExpressionProtocol) -> ExpressionProtocolParametersexpressionThe expression to be negated. Return ValueA negated expression 
- 
                  
                  Create a full-text index expression referencing a full-text index with the given index name. When there is a need to specify the data source in which the index has been created (e.g. in multi-collection join statement, calls the from(_ alias: String) method from the returned FullTextIndexExpressionProtocol object to specify the data source. DeclarationSwift public static func fullTextIndex(_ name: String) -> FullTextIndexExpressionProtocolParametersindexNameThe name of the full-text index. Return ValueThe full-text index expression referring to a full text index in the specified data source. 
 Expression Class Reference
        Expression Class Reference