(client: Client, table: string)
| 138 | const quoteIdent = (value: string): string => `"${value.replaceAll('"', '""')}"`; |
| 139 | |
| 140 | const tableExists = async (client: Client, table: string): Promise<boolean> => |
| 141 | (await queryFirst(client, "SELECT name FROM sqlite_master WHERE type = 'table' AND name = ?", [ |
| 142 | table, |
| 143 | ])) != null; |
| 144 | |
| 145 | const columnNames = async (client: Client, table: string): Promise<ReadonlySet<string>> => |
| 146 | new Set( |
no test coverage detected