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

Method TupleLabels

pkg/sql/types/types.go:984–986  ·  view source on GitHub ↗

TupleLabels returns a slice containing the labels of each tuple field. This is nil for types not in the TupleFamily, or if the tuple type does not specify labels.

()

Source from the content-addressed store, hash-verified

982// is nil for types not in the TupleFamily, or if the tuple type does not
983// specify labels.
984func (t *T) TupleLabels() []string {
985 return t.InternalType.TupleLabels
986}
987
988// Name returns a single word description of the type that describes it
989// succinctly, but without all the details, such as width, locale, etc. The name

Callers 5

StringMethod · 0.95
AsJSONFunction · 0.80
FormatMethod · 0.80
NewTypedTupleFunction · 0.80
TypeCheckMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected