Groups records by unique property values

interface UniqueValuesAggregate {
    uniqueValues: {
        aggregates?: RecordAggregates;
        property: AggregateProperty;
        size?: number;
    };
}

Properties

Properties

uniqueValues: {
    aggregates?: RecordAggregates;
    property: AggregateProperty;
    size?: number;
}

Type declaration

  • Optionalaggregates?: RecordAggregates

    Sub-aggregates to apply within each bucket

  • property: AggregateProperty
  • Optionalsize?: number

    Number of top buckets to return (default: 10, max: 2000)