Features API Reference

AggregationFnDescriptor

Interface: AggregationFnDescriptor<TFeatures, TData, TValue, TResult>

Defined in: features/aggregation/aggregationFeature.types.ts:120

Gives an aggregation reference a stable key in a multiple result.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue = unknown

TResult

TResult = unknown

Properties

aggregationFn

ts
aggregationFn: AggregationFnRef<TFeatures, TData, TValue, TResult>;

Defined in: features/aggregation/aggregationFeature.types.ts:127

The named, automatic, or inline definition to execute.


id

ts
id: string;

Defined in: features/aggregation/aggregationFeature.types.ts:129

Stable key used in the object returned by a multiple aggregation.