MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / isNumericColumn

Function isNumericColumn

packages/db/src/services/chart.service.ts:1111–1114  ·  view source on GitHub ↗
(columnName: string)

Source from the content-addressed store, hash-verified

1109}
1110
1111function isNumericColumn(columnName: string): boolean {
1112 const numericColumns = ['duration', 'revenue', 'longitude', 'latitude'];
1113 return numericColumns.includes(columnName);
1114}
1115
1116export function getEventFiltersWhereClause(
1117 filters: IChartEventFilter[],

Callers 3

getChartSqlFunction · 0.85
getAggregateChartSqlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected