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