mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
update time blocks to hour instead of day
This commit is contained in:
parent
a13856d325
commit
37f6102ce2
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ async function relationalQuery(websiteId: string, filters: QueryFilters) {
|
|||
from (
|
||||
select
|
||||
website_event.session_id,
|
||||
${getDateQuery('website_event.created_at', 'day')},
|
||||
${getDateQuery('website_event.created_at', 'hour')},
|
||||
count(*) as "c",
|
||||
min(website_event.created_at) as "min_time",
|
||||
max(website_event.created_at) as "max_time"
|
||||
|
|
@ -70,7 +70,7 @@ async function clickhouseQuery(
|
|||
from (
|
||||
select
|
||||
session_id,
|
||||
${getDateQuery('created_at', 'day')} time_series,
|
||||
${getDateQuery('created_at', 'hour')} time_series,
|
||||
count(*) c,
|
||||
min(created_at) min_time,
|
||||
max(created_at) max_time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue