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

Function one

__tests__/telemetry-services.test.ts:116–117  ·  view source on GitHub ↗
(sql: string, ...params: unknown[])

Source from the content-addressed store, hash-verified

114 };
115
116 const one = (sql: string, ...params: unknown[]): Row | undefined =>
117 db.prepare(sql).get(...(params.map(bindable) as never[])) as Row | undefined;
118
119 /** POST /v1/events the way a client does, then wait for the off-response-path write. */
120 async function post(machineId: string, events: Row[]): Promise<number> {

Callers 3

firstSeenFunction · 0.70
ledgerFunction · 0.70

Calls 3

mapMethod · 0.80
getMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected