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

Method ArrayContents

pkg/sql/types/types.go:1505–1507  ·  view source on GitHub ↗

ArrayContents returns the type of array elements. This is nil for types that are not in the ArrayFamily.

()

Source from the content-addressed store, hash-verified

1503// ArrayContents returns the type of array elements. This is nil for types that
1504// are not in the ArrayFamily.
1505func (t *T) ArrayContents() *T {
1506 return t.InternalType.ArrayContents
1507}
1508
1509// TupleContents returns a slice containing the type of each tuple field. This
1510// is nil for non-TupleFamily types.

Callers 15

TypeModifierMethod · 0.95
WithoutTypeModifiersMethod · 0.95
NameMethod · 0.95
PGNameMethod · 0.95
SQLStringMethod · 0.95
EquivalentMethod · 0.95
upgradeTypeMethod · 0.95
downgradeTypeMethod · 0.95
StringMethod · 0.95
DebugStringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected