Type alias AggregateResults<T, A>

AggregateResults<T, A>: Expand<keyof A["by"] extends never ? { [ K in keyof A["aggregations"]]: A["aggregations"][K]["operation"] extends "count" ? number : number | null } : ({ [ K in keyof A["by"]]: K extends string ? TypeTraversal<T["insert"], K> : K extends keyof T["insert"] ? T["insert"][K] : never } & { [ K in keyof A["aggregations"]]: A["aggregations"][K]["operation"] extends "count" ? number : number | null })[]>

Type Parameters

Generated using TypeDoc