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

Method UserDefined

pkg/sql/types/types.go:1548–1550  ·  view source on GitHub ↗

UserDefined returns whether or not t is a user defined type.

()

Source from the content-addressed store, hash-verified

1546
1547// UserDefined returns whether or not t is a user defined type.
1548func (t *T) UserDefined() bool {
1549 return IsOIDUserDefinedType(t.Oid())
1550}
1551
1552// IsOIDUserDefinedType returns whether or not o corresponds to a user
1553// defined type.

Callers 12

PGNameMethod · 0.95
SQLStringMethod · 0.95
SQLStringForErrorMethod · 0.95
IsHydratedMethod · 0.95
DebugStringMethod · 0.80
CalcArrayOidFunction · 0.80
FormatTypeReferenceMethod · 0.80
VisitPreMethod · 0.80
ResolveAsTypeMethod · 0.80

Calls 2

OidMethod · 0.95
IsOIDUserDefinedTypeFunction · 0.85

Tested by

no test coverage detected