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

Method doc

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

Source from the content-addressed store, hash-verified

635}
636
637func (node *Subquery) doc(p *PrettyCfg) pretty.Doc {
638 d := pretty.Text("<unknown>")
639 if node.Select != nil {
640 d = p.Doc(node.Select)
641 }
642 if node.Exists {
643 d = pretty.Concat(
644 pretty.Keyword("EXISTS"),
645 d,
646 )
647 }
648 return d
649}
650
651func (node *AliasedTableExpr) doc(p *PrettyCfg) pretty.Doc {
652 d := p.Doc(node.Expr)

Callers

nothing calls this directly

Calls 4

TextFunction · 0.92
ConcatFunction · 0.92
KeywordFunction · 0.92
DocMethod · 0.80

Tested by

no test coverage detected