Protocols

The following protocols are available globally.

  • Either NSPredicates or Strings can be used for a Query’s where and having clauses.

    Declaration

    Swift

    public protocol Predicate
  • Either NSExpressions or Strings can be used for a Query’s groupBy and returning clauses.

    Declaration

    Swift

    public protocol Expression
  • NSExpressions, NSSortDescriptors, or Strings can be used for a Query’s orderBy clause.

    Declaration

    Swift

    public protocol SortDescriptor