mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
get min/max date from website_event_stats_hourly view
This commit is contained in:
parent
d800b42b6b
commit
b5f5f07b1e
@ -38,7 +38,7 @@ async function clickhouseQuery(websiteId: string) {
|
||||
select
|
||||
min(created_at) as mindate,
|
||||
max(created_at) as maxdate
|
||||
from website_event
|
||||
from website_event_stats_hourly
|
||||
where website_id = {websiteId:UUID}
|
||||
and created_at >= {startDate:DateTime64}
|
||||
`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user