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

Function onlyEvents

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

Source from the content-addressed store, hash-verified

147const prop = (name: string): string => `json_extract(e.props, '$.${name}')`;
148const quoted = (values: readonly string[]): string => values.map((v) => `'${v}'`).join(', ');
149const onlyEvents = (...events: readonly string[]): string => ` AND e.event IN (${quoted(events)})`;
150
151/** One dimension whose value is a scalar column or a scalar prop. */
152function 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