QueryPredicateGroup
public class QueryPredicateGroup : QueryPredicate, Encodable
extension QueryPredicateGroup: Equatable
-
Declaration
Swift
public internal(set) var type: QueryPredicateGroupType { get }
-
Declaration
Swift
public internal(set) var predicates: [QueryPredicate] { get }
-
Declaration
Swift
public init(type: QueryPredicateGroupType = .and, predicates: [QueryPredicate] = [])
-
Declaration
Swift
public func and(_ predicate: QueryPredicate) -> QueryPredicateGroup
-
Declaration
Swift
public func or(_ predicate: QueryPredicate) -> QueryPredicateGroup
-
Declaration
Swift
public static func && (lhs: QueryPredicateGroup, rhs: QueryPredicate) -> QueryPredicateGroup
-
Declaration
Swift
public static func || (lhs: QueryPredicateGroup, rhs: QueryPredicate) -> QueryPredicateGroup
-
Declaration
Swift
public prefix static func ! (rhs: QueryPredicateGroup) -> QueryPredicateGroup
-
Declaration
Swift
public func evaluate(target: Model) -> Bool
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public static func == (lhs: QueryPredicateGroup, rhs: QueryPredicateGroup) -> Bool