Does the index hold any file of this language? One seek on idx_files_language.
(language: string)
| 1836 | |
| 1837 | /** Does the index hold any file of this language? One seek on idx_files_language. */ |
| 1838 | hasFilesOfLanguage(language: string): boolean { |
| 1839 | if (!this.stmts.hasFilesOfLanguage) { |
| 1840 | this.stmts.hasFilesOfLanguage = this.db.prepare('SELECT 1 FROM files WHERE language = ? LIMIT 1'); |
| 1841 | } |
| 1842 | return this.stmts.hasFilesOfLanguage.get(language) !== undefined; |
| 1843 | } |
| 1844 | |
| 1845 | /** |
| 1846 | * COBOL copybook includes naming `member`: the `import` node the COBOL |