Protocols
The following protocols are available globally.
-
Either NSPredicates or Strings can be used for a Query’s
where
andhaving
clauses.Declaration
Swift
public protocol Predicate
-
Either NSExpressions or Strings can be used for a Query’s
groupBy
andreturning
clauses.Declaration
Swift
public protocol Expression
-
NSExpressions, NSSortDescriptors, or Strings can be used for a Query’s
orderBy
clause.Declaration
Swift
public protocol SortDescriptor