QueryPredicateOperation
public class QueryPredicateOperation : QueryPredicate, Encodable
extension QueryPredicateOperation: Equatable
-
Declaration
Swift
public let field: String
-
Declaration
Swift
public let `operator`: QueryOperator
-
Declaration
Swift
public init(field: String, operator: QueryOperator)
-
Declaration
Swift
public func and(_ predicate: QueryPredicate) -> QueryPredicateGroup
-
Declaration
Swift
public func or(_ predicate: QueryPredicate) -> QueryPredicateGroup
-
Declaration
Swift
public static func && (lhs: QueryPredicateOperation, rhs: QueryPredicate) -> QueryPredicateGroup
-
Declaration
Swift
public static func || (lhs: QueryPredicateOperation, rhs: QueryPredicate) -> QueryPredicateGroup
-
Declaration
Swift
public prefix static func ! (rhs: QueryPredicateOperation) -> QueryPredicateGroup
-
Declaration
Swift
public func evaluate(target: Model) -> Bool
-
Declaration
Swift
public static func == (lhs: QueryPredicateOperation, rhs: QueryPredicateOperation) -> Bool