QueryPredicateConstant
public enum QueryPredicateConstant : QueryPredicate, Encodable
The case .all
is a predicate used as an argument to select all of a single modeltype. We
chose .all
instead of nil
because we didn’t want to use the implicit nature of nil
to
specify an action applies to an entire data set.
-
Declaration
Swift
case all
-
Declaration
Swift
public func evaluate(target: Model) -> Bool