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

Method PerColumnWidth

tools/shell/shell_render_table_metadata.cpp:105–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 vector<idx_t> tables;
104
105 idx_t PerColumnWidth() const {
106 idx_t width = 4;
107 for (auto &component_width : max_component_widths) {
108 width += component_width;
109 }
110 width += max_component_widths.size() - 1;
111 return width;
112 }
113 void RenderLine(ShellHighlight &highlight, const vector<ShellTableRenderInfo> &tables, idx_t line_idx,
114 bool last_line);
115};

Callers 1

RenderTableMetadataMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected