This commit is contained in:
Brian Cao 2022-08-25 22:23:19 -07:00
parent c811577460
commit 7e9ed704cc
11 changed files with 13 additions and 13 deletions

View file

@ -1,7 +1,7 @@
import { CLICKHOUSE, RELATIONAL } from 'lib/constants';
import clickhouse from 'lib/clickhouse';
import { getDateQuery, getFilterQuery, rawQuery } from 'lib/relational';
import { runAnalyticsQuery } from 'lib/db/db';
import { runAnalyticsQuery } from 'lib/db';
export async function getEventMetrics(...args) {
return runAnalyticsQuery({

View file

@ -1,7 +1,7 @@
import { CLICKHOUSE, RELATIONAL } from 'lib/constants';
import { prisma, runQuery } from 'lib/relational';
import clickhouse from 'lib/clickhouse';
import { runAnalyticsQuery } from 'lib/db/db';
import { runAnalyticsQuery } from 'lib/db';
export function getEvents(...args) {
return runAnalyticsQuery({

View file

@ -1,6 +1,6 @@
import { CLICKHOUSE, KAFKA, RELATIONAL, URL_LENGTH } from 'lib/constants';
import clickhouse from 'lib/clickhouse';
import kafka from 'lib/db/kafka';
import kafka from 'lib/kafka';
import { prisma, runQuery } from 'lib/relational';
import { runAnalyticsQuery } from 'lib/db';