* Get the count of unresolved references without loading them into memory
()
| 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. |
no test coverage detected