Functions
The following functions are available globally.
-
Creates a new instance of the
QueryFieldthat can be used to create query predicates.field("id").eq("some-uuid") // or using the operator-based: field("id") == "some-uuid"Declaration
Swift
public func field(_ name: String) -> QueryFieldParameters
namethe name of the field
Return Value
an instance of the
QueryField -
The
notfunction is used to wrap aQueryPredicatein aQueryPredicateGroupof type.not.Declaration
Swift
public func not(_ predicate: some QueryPredicate) -> QueryPredicateGroupParameters
predicatethe
QueryPredicate(either operation or group)Return Value
QueryPredicateGroupof type.not
View on GitHub
Functions Reference