mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
Fixed filter parameters.
This commit is contained in:
parent
b1d3970ea7
commit
81a810bd73
9 changed files with 36 additions and 44 deletions
|
|
@ -22,6 +22,7 @@ async function relationalQuery(websiteId: string, column: string, startDate: Dat
|
|||
on session.session_id = website_event.session_id
|
||||
where website_event.website_id = {{websiteId::uuid}}
|
||||
and website_event.created_at between {{startDate}} and {{endDate}}
|
||||
limit 100
|
||||
`,
|
||||
{
|
||||
websiteId,
|
||||
|
|
@ -40,6 +41,7 @@ async function clickhouseQuery(websiteId: string, column: string, startDate: Dat
|
|||
from website_event
|
||||
where website_id = {websiteId:UUID}
|
||||
and created_at between {startDate:DateTime64} and {endDate:DateTime64}
|
||||
limit 100
|
||||
`,
|
||||
{
|
||||
websiteId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue