| 461 | } |
| 462 | |
| 463 | void RenderHeader(PrintStream &out, ResultMetadata &result) override { |
| 464 | auto column_count = result.ColumnCount(); |
| 465 | PrintRowSeparator(out, column_count, "+", column_width); |
| 466 | out.Print("| "); |
| 467 | for (idx_t c = 0; c < column_count; c++) { |
| 468 | out.RenderAlignedValue(result.column_names[c], column_width[c]); |
| 469 | out.Print(c == column_count - 1 ? " |\n" : " | "); |
| 470 | } |
| 471 | PrintRowSeparator(out, column_count, "+", column_width); |
| 472 | } |
| 473 | |
| 474 | void RenderFooter(PrintStream &out, ResultMetadata &result) override { |
| 475 | auto column_count = result.ColumnCount(); |
nothing calls this directly
no test coverage detected