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

Method docTable

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

Source from the content-addressed store, hash-verified

878}
879
880func (node LockingWaitPolicy) docTable(p *PrettyCfg) []pretty.TableRow {
881 str := node.String()
882 if str == "" {
883 return nil
884 }
885 return []pretty.TableRow{p.row("", pretty.Keyword(str))}
886}
887
888func (p *PrettyCfg) peelCompOperand(e Expr) Expr {
889 if !p.Simplify {

Callers 1

docMethod · 0.95

Calls 3

StringMethod · 0.95
KeywordFunction · 0.92
rowMethod · 0.80

Tested by

no test coverage detected