MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / onlyEvents

Function onlyEvents

telemetry-worker/src/rollup.ts:100–100  ·  view source on GitHub ↗
(...events: readonly string[])

Source from the content-addressed store, hash-verified

98const prop = (name: string): string => `json_extract(e.props, '$.${name}')`;
99const quoted = (values: readonly string[]): string => values.map((v) => `'${v}'`).join(', ');
100const onlyEvents = (...events: readonly string[]): string => ` AND e.event IN (${quoted(events)})`;
101
102/** One dimension whose value is a scalar column or a scalar prop. */
103function dimStatement(dim: string, value: string, where = LIFECYCLE): string {

Callers 1

rollup.tsFile · 0.85

Calls 1

quotedFunction · 0.70

Tested by

no test coverage detected