Does the index hold any file of this language? One seek on idx_files_language.
(language: string)
| 1820 | |
| 1821 | /** Does the index hold any file of this language? One seek on idx_files_language. */ |
| 1822 | hasFilesOfLanguage(language: string): boolean { |
| 1823 | if (!this.stmts.hasFilesOfLanguage) { |
| 1824 | this.stmts.hasFilesOfLanguage = this.db.prepare('SELECT 1 FROM files WHERE language = ? LIMIT 1'); |
| 1825 | } |
| 1826 | return this.stmts.hasFilesOfLanguage.get(language) !== undefined; |
| 1827 | } |
| 1828 | |
| 1829 | /** |
| 1830 | * COBOL copybook includes naming `member`: the `import` node the COBOL |