AggregatingRequest

The protocol for all requests that can aggregate.

  • group(_:) Default implementation

    Creates a request grouped according to expressions promise.

    Default Implementation

    Creates a request grouped according to expressions.

  • having(_:) Default implementation

    Creates a request with the provided predicate promise added to the eventual set of already applied predicates.

    Default Implementation

    Creates a request with the provided predicate added to the eventual set of already applied predicates.

AggregatingRequest

  • group(sql:arguments:) Extension method

    Creates a request with a new grouping.

  • group(literal:) Extension method

    Creates a request with a new grouping.

  • having(sql:arguments:) Extension method

    Creates a request with the provided sql added to the eventual set of already applied predicates.

  • having(literal:) Extension method

    Creates a request with the provided SQL literal added to the eventual set of already applied predicates.