MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / clix

Function clix

packages/db/src/clickhouse/query-builder.ts:693–695  ·  view source on GitHub ↗
(client: ClickHouseClient, timezone?: string)

Source from the content-addressed store, hash-verified

691
692// Helper function to create a new query
693export function clix(client: ClickHouseClient, timezone?: string): Query {
694 return new Query(client, timezone ?? 'UTC');
695}
696
697clix.exp = (expr: string | Query<any>) =>
698 new Expression(expr instanceof Query ? expr.toSQL() : expr);

Callers 15

buildFunnelCteMethod · 0.90
buildSessionsCteMethod · 0.90
getFunnelMethod · 0.90
byIdMethod · 0.90
querySessionsCoreFunction · 0.90
createRevenueQueryMethod · 0.90
getTopPagesMethod · 0.90
getTopEntryExitMethod · 0.90

Calls

no outgoing calls

Tested by 1

buildWhereSQLFunction · 0.72