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

Method docTable

pkg/sql/sem/tree/pretty.go:816–822  ·  view source on GitHub ↗
(p *PrettyCfg)

Source from the content-addressed store, hash-verified

814}
815
816func (node LockingStrength) docTable(p *PrettyCfg) []pretty.TableRow {
817 str := node.String()
818 if str == "" {
819 return nil
820 }
821 return []pretty.TableRow{p.row("", pretty.Keyword(str))}
822}
823
824func (node LockingWaitPolicy) doc(p *PrettyCfg) pretty.Doc {
825 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