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

Function count

__tests__/db-perf.test.ts:341–341  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339 { source: 'A', target: 'B', kind: 'calls', line: 200, column: 4 },
340 ]);
341 const count = () => (raw.prepare('SELECT count(*) AS c FROM edges').get() as { c: number }).c;
342 expect(count()).toBe(3); // duplicate admitted while the index was absent
343
344 runMigrations(raw, 5);

Callers 1

db-perf.test.tsFile · 0.70

Calls 2

getMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected