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

Method where

packages/db/src/clickhouse/query-builder.ts:149–156  ·  view source on GitHub ↗
(column: string, operator: Operator, value?: SqlParam)

Source from the content-addressed store, hash-verified

147 }
148
149 where(column: string, operator: Operator, value?: SqlParam): this {
150 if (this._skipNext) {
151 return this;
152 }
153 const condition = this.buildCondition(column, operator, value);
154 this._where.push({ condition, operator: 'AND' });
155 return this;
156 }
157
158 public buildCondition(
159 column: string,

Callers 15

buildFunnelCteMethod · 0.45
buildSessionsCteMethod · 0.45
byIdMethod · 0.45
querySessionsCoreFunction · 0.45
createRevenueQueryMethod · 0.45
getTopPagesMethod · 0.45
getTopEntryExitMethod · 0.45
getDistinctSessionsMethod · 0.45

Calls 2

buildConditionMethod · 0.95
pushMethod · 0.45

Tested by 1

buildWhereSQLFunction · 0.36