SQLAggregateWindowFunction

public protocol SQLAggregateWindowFunction : SQLAggregateFunction

A custom SQL aggregate window function.

  • Invokes the inverse aggregate function for one or more values in a row.

    Throws

    Error

    Declaration

    Swift

    func inverse(_ values: [DatabaseValue]) throws

    Parameters

    values

    The SQL function parameters

  • Returns the current value of the aggregate window function.

    Throws

    Error

    Declaration

    Swift

    func value() throws -> DatabaseValue

    Return Value

    The current value of the aggregate window function.