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

Method IsHydrated

pkg/sql/types/types.go:3059–3061  ·  view source on GitHub ↗

IsHydrated returns true if this is a user-defined type and the TypeMeta is hydrated.

()

Source from the content-addressed store, hash-verified

3057// IsHydrated returns true if this is a user-defined type and the TypeMeta
3058// is hydrated.
3059func (t *T) IsHydrated() bool {
3060 return t.UserDefined() && t.TypeMeta != (UserDefinedTypeMetadata{})
3061}
3062
3063var typNameLiterals map[string]*T
3064

Callers 1

ResolveAsTypeMethod · 0.80

Calls 1

UserDefinedMethod · 0.95

Tested by

no test coverage detected