MCPcopy Create free account
hub / github.com/dolthub/doltgresql / docTable

Method docTable

postgres/parser/sem/tree/pretty.go:843–849  ·  view source on GitHub ↗
(p *PrettyCfg)

Source from the content-addressed store, hash-verified

841}
842
843func (node LockingStrength) docTable(p *PrettyCfg) []pretty.TableRow {
844 str := node.String()
845 if str == "" {
846 return nil
847 }
848 return []pretty.TableRow{p.row("", pretty.Keyword(str))}
849}
850
851func (node LockingWaitPolicy) doc(p *PrettyCfg) pretty.Doc {
852 return p.rlTable(node.docTable(p)...)

Callers 1

docMethod · 0.95

Calls 3

StringMethod · 0.95
KeywordFunction · 0.92
rowMethod · 0.80

Tested by

no test coverage detected