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

Method HasLoadedExtension

core/extensions/collection.go:76–79  ·  view source on GitHub ↗

HasLoadedExtension returns whether the extension has been loaded.

(ctx context.Context, name id.Extension)

Source from the content-addressed store, hash-verified

74
75// HasLoadedExtension returns whether the extension has been loaded.
76func (pge *Collection) HasLoadedExtension(ctx context.Context, name id.Extension) bool {
77 _, ok := pge.accessCache[name]
78 return ok
79}
80
81// AddLoadedExtension adds a new extension, that has already been loaded, to the collection.
82func (pge *Collection) AddLoadedExtension(ctx context.Context, ext Extension) error {

Callers 3

HasRootObjectMethod · 0.95
ResolveNameMethod · 0.95
RowIterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected