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

Function edgeCount

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

Source from the content-addressed store, hash-verified

275 });
276
277 const edgeCount = () =>
278 (db.getDb().prepare('SELECT count(*) AS c FROM edges').get() as { c: number }).c;
279 const mk = (over: Partial<Edge> = {}): Edge => ({
280 source: 'A',
281 target: 'B',

Callers 1

db-perf.test.tsFile · 0.85

Calls 3

getDbMethod · 0.80
getMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected