AggregatingRequest

public protocol AggregatingRequest

The protocol for all requests that can aggregate.

  • group(_:) Default implementation

    Creates a request grouped according to expressions.

    Default Implementation

    Creates a request grouped according to expressions.

    Declaration

    Swift

    func group(_ expressions: [SQLExpressible]) -> Self
  • Creates a request with the provided predicate added to the eventual set of already applied predicates.

    Declaration

    Swift

    func having(_ predicate: SQLExpressible) -> Self