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

Method TupleLabels

pkg/sql/types/types.go:1518–1520  ·  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

1516// is nil for types not in the TupleFamily, or if the tuple type does not
1517// specify labels.
1518func (t *T) TupleLabels() []string {
1519 return t.InternalType.TupleLabels
1520}
1521
1522// UserDefinedArrayOID returns the OID of the array type that corresponds to
1523// this user defined type. This function only can only be called on user

Callers 6

WithoutTypeModifiersMethod · 0.95
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