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

Method Format

pkg/sql/sem/tree/table_name.go:211–218  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

209
210// Format implements the NodeFormatter interface.
211func (ts *TableNames) Format(ctx *FmtCtx) {
212 sep := ""
213 for i := range *ts {
214 ctx.WriteString(sep)
215 ctx.FormatNode(&(*ts)[i])
216 sep = ", "
217 }
218}
219func (ts *TableNames) String() string { return AsString(ts) }
220
221// TableIndexName refers to a table index. There are a few cases:

Callers

nothing calls this directly

Calls 1

FormatNodeMethod · 0.80

Tested by

no test coverage detected