mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
Event data report UI.
This commit is contained in:
parent
6316a0b917
commit
9d7862cbd6
36 changed files with 660 additions and 254 deletions
|
|
@ -26,7 +26,8 @@ async function relationalQuery(websiteId: string, startDate: Date, endDate: Date
|
|||
from event_data
|
||||
where website_id = $1${toUuid()}
|
||||
and created_at >= $2
|
||||
and created_at between $3 and $4`,
|
||||
and created_at between $3 and $4
|
||||
order by event_key asc`,
|
||||
params,
|
||||
);
|
||||
}
|
||||
|
|
@ -43,7 +44,8 @@ async function clickhouseQuery(websiteId: string, startDate: Date, endDate: Date
|
|||
from event_data
|
||||
where website_id = {websiteId:UUID}
|
||||
and created_at >= ${getDateFormat(resetDate)}
|
||||
and ${getBetweenDates('created_at', startDate, endDate)}`,
|
||||
and ${getBetweenDates('created_at', startDate, endDate)}
|
||||
order by event_key asc`,
|
||||
params,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue