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

Method getAllNodes

src/db/queries.ts:1068–1071  ·  view source on GitHub ↗

* Get all nodes in the database

()

Source from the content-addressed store, hash-verified

1066 * Get all nodes in the database
1067 */
1068 getAllNodes(): Node[] {
1069 const rows = this.db.prepare('SELECT * FROM nodes').all() as NodeRow[];
1070 return rows.map(rowToNode);
1071 }
1072
1073 /**
1074 * Stream nodes of one language whose `decorators` JSON array contains

Calls 2

allMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected