QueryFieldOperation
public protocol QueryFieldOperation
QueryFieldOperation
provides functions that creates predicates based on a field name.
These functions are matchers that get executed at a later point by specific implementations
of the Model
filtering logic (e.g. SQL or GraphQL queries).
Seealso
QueryField
Seealso
ModelKey
-
Declaration
Swift
func attributeExists(_ value: Bool) -> QueryPredicateOperation
-
Declaration
Swift
func beginsWith(_ value: String) -> QueryPredicateOperation
-
Declaration
Swift
func between(start: Persistable, end: Persistable) -> QueryPredicateOperation
-
Declaration
Swift
func contains(_ value: String) -> QueryPredicateOperation
-
Declaration
Swift
func notContains(_ value: String) -> QueryPredicateOperation
-
Declaration
Swift
func eq(_ value: Persistable?) -> QueryPredicateOperation
-
Declaration
Swift
func eq(_ value: EnumPersistable) -> QueryPredicateOperation
-
Declaration
Swift
func ge(_ value: Persistable) -> QueryPredicateOperation
-
Declaration
Swift
func gt(_ value: Persistable) -> QueryPredicateOperation
-
Declaration
Swift
func le(_ value: Persistable) -> QueryPredicateOperation
-
Declaration
Swift
func lt(_ value: Persistable) -> QueryPredicateOperation
-
Declaration
Swift
func ne(_ value: Persistable?) -> QueryPredicateOperation
-
Declaration
Swift
func ne(_ value: EnumPersistable) -> QueryPredicateOperation
-
Declaration
Swift
static func ~= (key: Self, value: String) -> QueryPredicateOperation
-
Declaration
Swift
static func == (key: Self, value: Persistable?) -> QueryPredicateOperation
-
Declaration
Swift
static func == (key: Self, value: EnumPersistable) -> QueryPredicateOperation
-
Declaration
Swift
static func >= (key: Self, value: Persistable) -> QueryPredicateOperation
-
Declaration
Swift
static func > (key: Self, value: Persistable) -> QueryPredicateOperation
-
Declaration
Swift
static func <= (key: Self, value: Persistable) -> QueryPredicateOperation
-
Declaration
Swift
static func < (key: Self, value: Persistable) -> QueryPredicateOperation
-
Declaration
Swift
static func != (key: Self, value: Persistable?) -> QueryPredicateOperation
-
Declaration
Swift
static func != (key: Self, value: EnumPersistable) -> QueryPredicateOperation