MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / llTable

Method llTable

pkg/sql/sem/tree/pretty.go:177–183  ·  view source on GitHub ↗
(docFn func(string) pretty.Doc, rows ...pretty.TableRow)

Source from the content-addressed store, hash-verified

175}
176
177func (p *PrettyCfg) llTable(docFn func(string) pretty.Doc, rows ...pretty.TableRow) pretty.Doc {
178 alignment := pretty.TableNoAlign
179 if p.Align != PrettyNoAlign {
180 alignment = pretty.TableLeftAlignFirstColumn
181 }
182 return pretty.Table(alignment, docFn, rows...)
183}
184
185func (p *PrettyCfg) row(lbl string, d pretty.Doc) pretty.TableRow {
186 return pretty.TableRow{Label: lbl, Doc: d}

Callers 1

docMethod · 0.80

Calls 1

TableFunction · 0.92

Tested by

no test coverage detected