MCPcopy
hub / github.com/colbymchenry/codegraph / getNodesByQualifiedNameExact

Method getNodesByQualifiedNameExact

src/db/queries.ts:744–752  ·  view source on GitHub ↗

* Get nodes by exact qualified name match (uses idx_nodes_qualified_name index)

(qualifiedName: string)

Source from the content-addressed store, hash-verified

742 * Get nodes by exact qualified name match (uses idx_nodes_qualified_name index)
743 */
744 getNodesByQualifiedNameExact(qualifiedName: string): Node[] {
745 if (!this.stmts.getNodesByQualifiedNameExact) {
746 this.stmts.getNodesByQualifiedNameExact = this.db.prepare(
747 'SELECT * FROM nodes WHERE qualified_name = ?'
748 );
749 }
750 const rows = this.stmts.getNodesByQualifiedNameExact.all(qualifiedName) as NodeRow[];
751 return rows.map(rowToNode);
752 }
753
754 /**
755 * Get nodes by lowercase name match (uses idx_nodes_lower_name expression index)

Callers 2

createContextMethod · 0.80
kotlinExpectActualEdgesFunction · 0.80

Calls 2

prepareMethod · 0.65
allMethod · 0.65

Tested by

no test coverage detected