Describe even zero-row results using TDS column metadata.
(columns: IColumnMetadata[string][])
| 43 | |
| 44 | /** Describe even zero-row results using TDS column metadata. */ |
| 45 | function queryColumns(columns: IColumnMetadata[string][]): QueryColumn[] { |
| 46 | return columns.map((column) => { |
| 47 | const type = column.type as unknown as { declaration: string }; |
| 48 | return { name: column.name, type: type.declaration }; |
| 49 | }); |
| 50 | } |
| 51 | |
| 52 | /** SQL Server executes native T-SQL remotely; no rows are imported into DuckDB. */ |
| 53 | export class SQLServerEngine implements AnalysisEngine { |