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

Method FormatName

postgres/parser/sem/tree/format.go:365–367  ·  view source on GitHub ↗

FormatName formats a string as a name. Note: prefer FormatNameP below when the string is already on the heap.

(s string)

Source from the content-addressed store, hash-verified

363// Note: prefer FormatNameP below when the string is already on the
364// heap.
365func (ctx *FmtCtx) FormatName(s string) {
366 ctx.FormatNode((*Name)(&s))
367}
368
369// FormatNameP formats a string reference as a name.
370func (ctx *FmtCtx) FormatNameP(s *string) {

Callers

nothing calls this directly

Calls 1

FormatNodeMethod · 0.95

Tested by

no test coverage detected