Event data report UI.
This commit is contained in:
1 parent
6316a0b917
commit
9d7862cbd6
36 files changed
+660
-254
No files matched your search
@@ -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,
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user