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

Method getAllNodes

src/db/queries.ts:1685–1688  ·  view source on GitHub ↗

* Get all nodes in the database

()

Source from the content-addressed store, hash-verified

1683 * Get all nodes in the database
1684 */
1685 getAllNodes(): Node[] {
1686 const rows = this.db.prepare('SELECT * FROM nodes').all() as NodeRow[];
1687 return rows.map(rowToNode);
1688 }
1689
1690 /**
1691 * 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