You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- aggregate spec: `query` (not `match`), camelCase keys (`groupBy`, `dateBucket`,
`countDistinct`), and no rule against combining countDistinct with other measures
- cursor pages default to 100 rows; the maximum stays 5,000
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
/** Filter applied before grouping, in the same form {@linkcode EntityHandler.filter | filter()} accepts. Defaults to all records. */
107
-
match?: EntityFilterQuery<T>;
107
+
query?: EntityFilterQuery<T>;
108
108
/** Field, or up to four fields, to group by. Omit to get one total row. */
109
-
group_by?: (keyofT&string)|(keyofT&string)[];
109
+
groupBy?: (keyofT&string)|(keyofT&string)[];
110
110
/** Group by a time bucket of a date field. `created_date` and `updated_date` support every unit; date fields of your schema support `day`, `month` and `year`. */
/** Field, or fields, to take the maximum of. Each appears in the rows as `max_<field>`. */
121
121
max?: (keyofT&string)|(keyofT&string)[];
122
-
/** Field whose distinct values to count per group, returned as `count_distinct_<field>`. Can't be combined with `count`, `sum`, `avg`, `min` or `max`. */
123
-
count_distinct?: keyofT&string;
122
+
/** Field whose distinct values to count per group, returned as `count_distinct_<field>`. */
123
+
countDistinct?: keyofT&string;
124
124
/** Filter on the computed fields, applied after grouping. For example `{ count: { $gt: 1 }}` keeps only duplicated groups. */
125
125
having?: Record<string,any>;
126
126
/** Computed or group field to sort the rows by, with a `-` prefix for descending. For example `'-count'`. */
0 commit comments