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

Method TupleContents

pkg/sql/types/types.go:1511–1513  ·  view source on GitHub ↗

TupleContents returns a slice containing the type of each tuple field. This is nil for non-TupleFamily types.

()

Source from the content-addressed store, hash-verified

1509// TupleContents returns a slice containing the type of each tuple field. This
1510// is nil for non-TupleFamily types.
1511func (t *T) TupleContents() []*T {
1512 return t.InternalType.TupleContents
1513}
1514
1515// TupleLabels returns a slice containing the labels of each tuple field. This
1516// is nil for types not in the TupleFamily, or if the tuple type does not

Callers 15

WithoutTypeModifiersMethod · 0.95
EquivalentMethod · 0.95
EquivalentOrNullMethod · 0.95
StringMethod · 0.95
IsAmbiguousMethod · 0.95
IsWildcardTupleTypeFunction · 0.80
ValidCastFunction · 0.80
LookupCastVolatilityFunction · 0.80
pgwireFormatMethod · 0.80
FormatMethod · 0.80
NewDefaultDatumFunction · 0.80
DatumTypeSizeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected