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

Method TupleLabels

postgres/parser/types/types.go:1209–1211  ·  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

1207// is nil for types not in the TupleFamily, or if the tuple type does not
1208// specify labels.
1209func (t *T) TupleLabels() []string {
1210 return t.InternalType.TupleLabels
1211}
1212
1213// UserDefinedArrayOID returns the OID of the array type that corresponds to
1214// this user defined type. This function only can only be called on user

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected