mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
fix: add table prefix
This commit is contained in:
parent
c950610de9
commit
b8b773a402
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ async function relationalQuery(
|
||||||
select
|
select
|
||||||
count(*) filter (where website_event.event_type = 1) as "pageviews",
|
count(*) filter (where website_event.event_type = 1) as "pageviews",
|
||||||
count(distinct website_event.session_id) filter (where website_event.event_type = 1) as "visitors",
|
count(distinct website_event.session_id) filter (where website_event.event_type = 1) as "visitors",
|
||||||
count(distinct visit_id) filter (where website_event.event_type = 1) as "visits",
|
count(distinct website_event.visit_id) filter (where website_event.event_type = 1) as "visits",
|
||||||
count(distinct session.country) filter (where website_event.event_type = 1) as "countries",
|
count(distinct session.country) filter (where website_event.event_type = 1) as "countries",
|
||||||
count(*) filter (where website_event.event_type = 2) as "events"
|
count(*) filter (where website_event.event_type = 2) as "events"
|
||||||
from website_event
|
from website_event
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue