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

Method FQName

postgres/parser/types/types.go:255–265  ·  view source on GitHub ↗

FQName returns the fully qualified name.

()

Source from the content-addressed store, hash-verified

253
254// FQName returns the fully qualified name.
255func (u UserDefinedTypeName) FQName() string {
256 var sb strings.Builder
257 // Note that cross-database type references are disabled, so we only
258 // format the qualified name with the schema.
259 if u.ExplicitSchema {
260 sb.WriteString(u.Schema)
261 sb.WriteString(".")
262 }
263 sb.WriteString(u.Name)
264 return sb.String()
265}
266
267// Convenience list of pre-constructed types. Caller code can use any of these
268// types, or use the MakeXXX methods to construct a custom type that is not

Callers 1

SQLStringMethod · 0.80

Calls 2

WriteStringMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected