(dbPath: string, sql: string)
| 98 | } |
| 99 | |
| 100 | function sqliteQueryAsync(dbPath: string, sql: string): Promise<string> { |
| 101 | return sqliteExecAsync(dbPath, ['-json', dbPath, sql]); |
| 102 | } |
| 103 | |
| 104 | /** Fast Turn query that avoids sqlite3's slow -json serialization. |
| 105 | * Uses raw output with unit separator (\\x1f) between columns and |
no test coverage detected