When the query's responseFormat is known at compile time (defined inline or
with satisfies Query), the objects and aggregates shapes are inferred
from it. Otherwise it falls back to unknown.
Aggregate values are typed by operator: COUNT is number, SUM and AVG
are number | null, and MIN and MAX are number | string | null (a date
or text column returns a string, and an empty result returns null). A GROUP
column returns the grouped property's value (a string, number, boolean, or
null).
The shape of the response from executing a Query.
When the query's
responseFormatis known at compile time (defined inline or withsatisfies Query), theobjectsandaggregatesshapes are inferred from it. Otherwise it falls back tounknown.Aggregate values are typed by operator:
COUNTisnumber,SUMandAVGarenumber | null, andMINandMAXarenumber | string | null(a date or text column returns a string, and an empty result returns null). AGROUPcolumn returns the grouped property's value (a string, number, boolean, or null).