route to view or raw table based on filters

This commit is contained in:
Francis Cao 2025-07-15 16:26:03 -07:00
parent 2dcb9e21bd
commit 954404f8df
7 changed files with 102 additions and 26 deletions

View file

@ -109,7 +109,7 @@ async function clickhouseQuery(
sum(views) c,
min(min_time) min_time,
max(max_time) max_time
from umami.website_event_stats_hourly "website_event"
from website_event_stats_hourly "website_event"
${cohortQuery}
where website_id = {websiteId:UUID}
and created_at between {startDate:DateTime64} and {endDate:DateTime64}