AggregateProperty
Class
Represents a property that is aggregated from multiple parts according to the property's reducer
function. A value can be contributed to the aggregated value for a field using an
aggregateProperty
rule in the schema. There may be multiple rules in a schema that contribute
values to the same AggregateProperty
of the same field.
constructor
AggregateProperty<TAcc, TItem>
Use reducedProperty
.
@paramreduce
(acc: TAcc, item: TItem) => TAcc
@paramgetInitial
() => TAcc
@returns
AggregateProperty<TAcc, TItem>
Jump to details