@tanstack/db
Version:
A reactive client store for building super fast apps on sync
10 lines (7 loc) • 335 B
text/typescript
import { processGroupBy, replaceAggregatesByRefs } from './group-by.js'
/**
* The grouping compiler. Aggregate values and `groupKeys` carry it onto the
* query IR, so apps that never group or aggregate do not bundle it.
*/
export const grouping = { processGroupBy, replaceAggregatesByRefs }
export type Grouping = typeof grouping