AggregationFieldOptions interface

Options object for a single aggregation operation.

Properties

distinct

When true, aggregate only distinct values of field.

field

The scalar field to aggregate over (emitted as an unquoted GraphQL enum token).

having

Optional having filter applied to the aggregated numeric value.

Property Details

distinct

When true, aggregate only distinct values of field.

distinct?: boolean

Property Value

boolean

field

The scalar field to aggregate over (emitted as an unquoted GraphQL enum token).

field: F

Property Value

F

having

Optional having filter applied to the aggregated numeric value.

having?: NumberFilterInput

Property Value