IGroupByDateTrunc
Properties
as?
optionalas?:string
Output key for this grouping. Defaults to "group" for a single groupBy, or group1/group2/... for multiple.
field
field:
string
timezone?
optionaltimezone?:string
IANA timezone name, e.g. 'Europe/Kyiv'. Optional, defaults to UTC.
truncation
truncation:
"day"|"week"|"month"|"year"
type
type:
"date_trunc"