MCPcopy Create free account
hub / github.com/duckdb/duckdb / PrintRowSeparator

Method PrintRowSeparator

tools/shell/shell_renderer.cpp:479–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477 }
478
479 void PrintRowSeparator(PrintStream &out, idx_t nArg, const char *zSep, const vector<idx_t> &actualWidth) {
480 if (nArg > 0) {
481 out.Print(zSep);
482 out.PrintDashes(actualWidth[0] + 2);
483 for (idx_t i = 1; i < nArg; i++) {
484 out.Print(zSep);
485 out.PrintDashes(actualWidth[i] + 2);
486 }
487 out.Print(zSep);
488 }
489 out.Print("\n");
490 }
491
492 const char *GetColumnSeparator() override {
493 return " | ";

Callers

nothing calls this directly

Calls 2

PrintDashesMethod · 0.80
PrintMethod · 0.45

Tested by

no test coverage detected