| 532 | } |
| 533 | |
| 534 | void RenderHeader(PrintStream &out, ResultMetadata &result) override { |
| 535 | auto column_count = result.ColumnCount(); |
| 536 | out.Print(GetRowStart()); |
| 537 | for (idx_t c = 0; c < column_count; c++) { |
| 538 | if (c > 0) { |
| 539 | out.Print(GetColumnSeparator()); |
| 540 | } |
| 541 | out.RenderAlignedValue(result.column_names[c], column_width[c]); |
| 542 | } |
| 543 | out.Print(GetRowSeparator()); |
| 544 | PrintMarkdownSeparator(out, column_count, "|", result.types, column_width); |
| 545 | } |
| 546 | |
| 547 | void PrintMarkdownSeparator(PrintStream &out, idx_t nArg, const char *zSep, |
| 548 | const vector<duckdb::LogicalType> &colTypes, const vector<idx_t> &actualWidth) { |
nothing calls this directly
no test coverage detected