Added more function names to queries.

This commit is contained in:
Mike Cao 2025-10-02 16:56:56 -07:00
parent cd6ad0add2
commit da572864ac
25 changed files with 118 additions and 20 deletions

View file

@ -3,6 +3,8 @@ import clickhouse from '@/lib/clickhouse';
import { CLICKHOUSE, PRISMA, runQuery } from '@/lib/db';
import { QueryFilters } from '@/lib/types';
const FUNCTION_NAME = 'getEventDataValues';
interface WebsiteEventData {
value: string;
total: number;
@ -55,6 +57,7 @@ async function relationalQuery(
limit 100
`,
queryParams,
FUNCTION_NAME,
);
}
@ -84,5 +87,6 @@ async function clickhouseQuery(
limit 100
`,
queryParams,
FUNCTION_NAME,
);
}