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

Method Format

postgres/parser/sem/tree/table_pattern.go:73–79  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

71
72// Format implements the NodeFormatter interface.
73func (at *AllTablesSelector) Format(ctx *FmtCtx) {
74 at.ObjectNamePrefix.Format(ctx)
75 if at.ExplicitSchema || ctx.alwaysFormatTablePrefix() {
76 ctx.WriteByte('.')
77 }
78 ctx.WriteByte('*')
79}
80func (at *AllTablesSelector) String() string { return AsString(at) }
81
82// NormalizeTablePattern implements the TablePattern interface.

Callers

nothing calls this directly

Calls 2

FormatMethod · 0.65

Tested by

no test coverage detected