* Get all distinct node names (lightweight — just name strings for pre-filtering)
()
| 4717 | * Get all distinct node names (lightweight — just name strings for pre-filtering) |
| 4718 | */ |
| 4719 | getAllNodeNames(): string[] { |
| 4720 | if (!this.stmts.getAllNodeNames) { |
| 4721 | this.stmts.getAllNodeNames = this.db.prepare('SELECT DISTINCT name FROM nodes'); |
| 4722 | } |
| 4723 | const rows = this.stmts.getAllNodeNames.all() as Array<{ name: string }>; |
| 4724 | return rows.map((r) => r.name); |
| 4725 | } |
| 4726 | |
| 4727 | /** |
| 4728 | * The distinct node names, in {@link getAllNodeNames} order, and the same |
no test coverage detected