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

Method getNodesByQualifiedNameExact

src/db/queries.ts:1132–1140  ·  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

1130 * Get nodes by exact qualified name match (uses idx_nodes_qualified_name index)
1131 */
1132 getNodesByQualifiedNameExact(qualifiedName: string): Node[] {
1133 if (!this.stmts.getNodesByQualifiedNameExact) {
1134 this.stmts.getNodesByQualifiedNameExact = this.db.prepare(
1135 'SELECT * FROM nodes WHERE qualified_name = ?'
1136 );
1137 }
1138 const rows = this.stmts.getNodesByQualifiedNameExact.all(qualifiedName) as NodeRow[];
1139 return rows.map(rowToNode);
1140 }
1141
1142 /**
1143 * 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