Skip to main content

IGroupByDateTrunc

Properties

field

field: string


timezone?

optional timezone: string

IANA timezone name, e.g. 'Europe/Kyiv'. Optional, defaults to UTC.


truncation

truncation: "day" | "week" | "month" | "year"


type

type: "date_trunc"