fix prisma query, column name
This commit is contained in:
@@ -21,7 +21,7 @@ async function relationalQuery(websiteId: string, column: string, startDate: Dat
|
|||||||
inner join session
|
inner join session
|
||||||
on session.session_id = website_event.session_id
|
on session.session_id = website_event.session_id
|
||||||
where website_event.website_id = {{websiteId::uuid}}
|
where website_event.website_id = {{websiteId::uuid}}
|
||||||
and created_at between {{startDate}} and {{endDate}}
|
and website_event.created_at between {{startDate}} and {{endDate}}
|
||||||
`,
|
`,
|
||||||
{
|
{
|
||||||
websiteId,
|
websiteId,
|
||||||
|
|||||||
Reference in New Issue
Block a user