Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Mike Cao 2023-04-19 11:41:40 -07:00
commit 9c2242012e

View File

@ -41,7 +41,8 @@ async function relationalQuery(
join website join website
on website_event.website_id = website.website_id on website_event.website_id = website.website_id
${joinSession} ${joinSession}
where website.website_id = $1${toUuid()} where event_type = ${EVENT_TYPE.pageView}
and website.website_id = $1${toUuid()}
and website_event.created_at >= $2 and website_event.created_at >= $2
and website_event.created_at between $3 and $4 and website_event.created_at between $3 and $4
${filterQuery} ${filterQuery}