mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 08:37:13 +01:00
Refactored realtime.
This commit is contained in:
parent
cda3ba345b
commit
5108b91f80
16 changed files with 205 additions and 227 deletions
|
|
@ -312,7 +312,7 @@ async function clickhouseQuery(
|
|||
const where = getWhere(urls, events, eventData);
|
||||
|
||||
const urlResults = hasUrl
|
||||
? await rawQuery<any>(
|
||||
? await rawQuery(
|
||||
`
|
||||
select
|
||||
${columns.url}
|
||||
|
|
@ -332,7 +332,7 @@ async function clickhouseQuery(
|
|||
: [];
|
||||
|
||||
const eventResults = hasEvent
|
||||
? await rawQuery<any>(
|
||||
? await rawQuery(
|
||||
`
|
||||
select
|
||||
${columns.events}
|
||||
|
|
@ -352,7 +352,7 @@ async function clickhouseQuery(
|
|||
: [];
|
||||
|
||||
const eventDataResults = hasEventData
|
||||
? await rawQuery<any>(
|
||||
? await rawQuery(
|
||||
`
|
||||
select
|
||||
${columns.eventData}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue