fix prisma query, column name

This commit is contained in:
Francis Cao 2023-10-13 10:01:23 -07:00
parent 88aa341821
commit 0e782f3bcc

View File

@ -21,7 +21,7 @@ async function relationalQuery(websiteId: string, column: string, startDate: Dat
inner join session
on session.session_id = website_event.session_id
where website_event.website_id = {{websiteId::uuid}}
and created_at between {{startDate}} and {{endDate}}
and website_event.created_at between {{startDate}} and {{endDate}}
`,
{
websiteId,