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

Method ArrayContents

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

969// ArrayContents returns the type of array elements. This is nil for types that
970// are not in the ArrayFamily.
971func (t *T) ArrayContents() *T {
972 return t.InternalType.ArrayContents
973}
974
975// TupleContents returns a slice containing the type of each tuple field. This
976// is nil for non-TupleFamily types.

Callers 15

NameMethod · 0.95
PGNameMethod · 0.95
SQLStringMethod · 0.95
EquivalentMethod · 0.95
upgradeTypeMethod · 0.95
downgradeTypeMethod · 0.95
StringMethod · 0.95
IsAmbiguousMethod · 0.95
computeCastNameFunction · 0.80
NewDefaultDatumFunction · 0.80
ParseAndRequireStringFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected