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

Method FQString

pkg/sql/sem/tree/create_routine.go:63–71  ·  view source on GitHub ↗

FQString renders the function name in full, not omitting the prefix schema and catalog names. Suitable for logging, etc.

()

Source from the content-addressed store, hash-verified

61// FQString renders the function name in full, not omitting the prefix
62// schema and catalog names. Suitable for logging, etc.
63func (f *RoutineName) FQString() string {
64 ctx := NewFmtCtx(FmtSimple)
65 ctx.FormatNode(&f.CatalogName)
66 ctx.WriteByte('.')
67 ctx.FormatNode(&f.SchemaName)
68 ctx.WriteByte('.')
69 ctx.FormatNode(&f.ObjectName)
70 return ctx.CloseAndGetString()
71}
72
73func (f *RoutineName) objectName() {}
74

Callers

nothing calls this directly

Calls 3

FormatNodeMethod · 0.95
CloseAndGetStringMethod · 0.95
NewFmtCtxFunction · 0.85

Tested by

no test coverage detected