update CH rawquery and type

This commit is contained in:
Francis Cao committed 2023-09-29 11:00:06 -07:00
1 parent 35d45334df
commit 98b7624e8f
17 files changed
+169 -52

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ async function clickhouseQuery(websiteId: string) {
max(created_at) as maxdate
from website_event
where website_id = {websiteId:UUID}
and created_at >= {startDate:DateTime}
and created_at >= {startDate:DateTime64}
`,
params,
);