Briyah SDK - v2.0.18
    Preparing search index...

    Type Alias DataAggregateFn

    DataAggregateFn: "count" | "countDistinct" | "sum" | "avg" | "min" | "max"

    The aggregate functions a query may ask for.

    count with no field counts rows; with a field it counts the rows where that field is present. countDistinct counts the field's different values — "how many carriers", where one carrier appears on several rows.