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

Method getUnresolvedReferencesCount

src/db/queries.ts:1634–1642  ·  view source on GitHub ↗

* Get the count of unresolved references without loading them into memory

()

Source from the content-addressed store, hash-verified

1632 * Get the count of unresolved references without loading them into memory
1633 */
1634 getUnresolvedReferencesCount(): number {
1635 if (!this.stmts.getUnresolvedCount) {
1636 this.stmts.getUnresolvedCount = this.db.prepare(
1637 'SELECT COUNT(*) as count FROM unresolved_refs'
1638 );
1639 }
1640 const row = this.stmts.getUnresolvedCount.get() as { count: number };
1641 return row.count;
1642 }
1643
1644 /**
1645 * Get a batch of unresolved references using LIMIT/OFFSET pagination.

Callers 4

indexAllMethod · 0.80
syncMethod · 0.80
db-perf.test.tsFile · 0.80

Calls 2

prepareMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected