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

Method ArrayContents

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

1194// ArrayContents returns the type of array elements. This is nil for types that
1195// are not in the ArrayFamily.
1196func (t *T) ArrayContents() *T {
1197 return t.InternalType.ArrayContents
1198}
1199
1200// TupleContents returns a slice containing the type of each tuple field. This
1201// is nil for non-TupleFamily types.

Callers 15

TypeModifierMethod · 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
IsAmbiguousMethod · 0.95
computeCastNameFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected