Refactored realtime.

This commit is contained in:
Mike Cao 2024-06-19 21:47:27 -07:00
parent cda3ba345b
commit 5108b91f80
16 changed files with 205 additions and 227 deletions

View file

@ -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}