Fixed filter parameters.

This commit is contained in:
Mike Cao 2023-10-16 20:44:22 -07:00
parent b1d3970ea7
commit 81a810bd73
9 changed files with 36 additions and 44 deletions

View file

@ -22,6 +22,7 @@ async function relationalQuery(websiteId: string, column: string, startDate: Dat
on session.session_id = website_event.session_id
where website_event.website_id = {{websiteId::uuid}}
and website_event.created_at between {{startDate}} and {{endDate}}
limit 100
`,
{
websiteId,
@ -40,6 +41,7 @@ async function clickhouseQuery(websiteId: string, column: string, startDate: Dat
from website_event
where website_id = {websiteId:UUID}
and created_at between {startDate:DateTime64} and {endDate:DateTime64}
limit 100
`,
{
websiteId,