QueryOperator
public enum QueryOperator : CustomStringConvertibleAn enumeration representing various query operators that can be used to filter or match data in a query.
Each case represents a specific type of operation that can be performed on the data.
- Cases:
- equal: Matches values that are equal to the specified value.
- notEqual: Matches values that are not equal to the specified value.
- range: Matches values that fall within the specified lower and upper bounds.
- contains: Matches strings that contain the specified substring.
- startsWith: Matches strings that start with the specified prefix.
- endsWith: Matches strings that end with the specified suffix.
- lessThan: Matches values that are less than the specified value.
- lessThanOrEqual: Matches values that are less than or equal to the specified value.
- greaterThan: Matches values that are greater than the specified value.
- greaterThanOrEqual: Matches values that are greater than or equal to the specified value.
- between: Matches values that fall inclusively between the specified lower and upper bounds.
- in: Matches values that are contained within the specified array of values.
- exists: Matches values that exist (non-nil).
- notExists: Matches values that do not exist (nil).
 
This enumeration conforms to CustomStringConvertible to provide a textual description of each operator.
- 
                  
                  Undocumented DeclarationSwift case equal(AnyHashable)
- 
                  
                  Undocumented DeclarationSwift case notEqual(AnyHashable)
- 
                  
                  Undocumented DeclarationSwift case range(lower: AnyHashable, upper: AnyHashable)
- 
                  
                  Undocumented DeclarationSwift case contains(String)
- 
                  
                  Undocumented DeclarationSwift case startsWith(String)
- 
                  
                  Undocumented DeclarationSwift case endsWith(String)
- 
                  
                  Undocumented DeclarationSwift case lessThan(Any)
- 
                  
                  Undocumented DeclarationSwift case lessThanOrEqual(Any)
- 
                  
                  Undocumented DeclarationSwift case greaterThan(Any)
- 
                  
                  Undocumented DeclarationSwift case greaterThanOrEqual(Any)
- 
                  
                  Undocumented DeclarationSwift case between(lower: AnyHashable, upper: AnyHashable)
- 
                  
                  Undocumented DeclarationSwift case `in`([Any])
- 
                  
                  Undocumented DeclarationSwift case exists
- 
                  
                  Undocumented DeclarationSwift case notExists
- 
                  
                  A textual representation of the query planner. This property provides a description of the query planner, which can be useful for debugging or logging purposes. It returns a Stringthat represents the current state or details of the query planner.DeclarationSwift public var description: String { get }
 View on GitHub
View on GitHub