mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
remove unneccessary website join
This commit is contained in:
parent
ada332f174
commit
7e00be1662
1 changed files with 1 additions and 3 deletions
|
|
@ -43,10 +43,8 @@ async function relationalQuery(
|
||||||
min(website_event.created_at) as "min_time",
|
min(website_event.created_at) as "min_time",
|
||||||
max(website_event.created_at) as "max_time"
|
max(website_event.created_at) as "max_time"
|
||||||
from website_event
|
from website_event
|
||||||
join website
|
|
||||||
on website_event.website_id = website.website_id
|
|
||||||
${joinSession}
|
${joinSession}
|
||||||
where website.website_id = {{websiteId::uuid}}
|
where website_event.website_id = {{websiteId::uuid}}
|
||||||
and website_event.created_at between {{startDate}} and {{endDate}}
|
and website_event.created_at between {{startDate}} and {{endDate}}
|
||||||
and event_type = {{eventType}}
|
and event_type = {{eventType}}
|
||||||
${filterQuery}
|
${filterQuery}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue