Added more function names to queries.
This commit is contained in:
1 parent
cd6ad0add2
commit
da572864ac
25 files changed
+118
-20
No files matched your search
@@ -3,6 +3,8 @@ import clickhouse from '@/lib/clickhouse';
|
||||
import { CLICKHOUSE, PRISMA, runQuery } from '@/lib/db';
|
||||
import { QueryFilters } from '@/lib/types';
|
||||
|
||||
const FUNCTION_NAME = 'getSessionDataValues';
|
||||
|
||||
export async function getSessionDataValues(
|
||||
...args: [websiteId: string, filters: QueryFilters & { propertyName?: string }]
|
||||
) {
|
||||
@@ -45,6 +47,7 @@ async function relationalQuery(
|
||||
limit 100
|
||||
`,
|
||||
queryParams,
|
||||
FUNCTION_NAME,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -75,5 +78,6 @@ async function clickhouseQuery(
|
||||
limit 100
|
||||
`,
|
||||
queryParams,
|
||||
FUNCTION_NAME,
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user