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

Method getAllNodes

src/db/queries.ts:1687–1690  ·  view source on GitHub ↗

* Get all nodes in the database

()

Source from the content-addressed store, hash-verified

1685 * Get all nodes in the database
1686 */
1687 getAllNodes(): Node[] {
1688 const rows = this.db.prepare('SELECT * FROM nodes').all() as NodeRow[];
1689 return rows.map(rowToNode);
1690 }
1691
1692 /**
1693 * Stream nodes of one language whose `decorators` JSON array contains

Calls 3

mapMethod · 0.80
allMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected