Add granularity for aggregation, group by hour/day/month/year
This commit is contained in:
@@ -6,6 +6,8 @@ export const weatherField = ["tempMax", "tempMin", "tempAvg", "precipitation", "
|
||||
|
||||
export const aggregateKey = ["min", "max", "avg", "sum", "list", "distinct"];
|
||||
|
||||
export const aggregateGranularity = ["hour", "day", "month", "year"];
|
||||
|
||||
export type ResultKeyVal = [key: string, value: number | Array<any>];
|
||||
|
||||
export const resultOrder = {
|
||||
|
||||
Reference in New Issue
Block a user