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

Method HasRootObject

core/extensions/root_object.go:66–71  ·  view source on GitHub ↗

HasRootObject implements the interface objinterface.Collection.

(ctx context.Context, identifier id.Id)

Source from the content-addressed store, hash-verified

64
65// HasRootObject implements the interface objinterface.Collection.
66func (pge *Collection) HasRootObject(ctx context.Context, identifier id.Id) (bool, error) {
67 if identifier.Section() != id.Section_Extension {
68 return false, nil
69 }
70 return pge.HasLoadedExtension(ctx, id.Extension(identifier)), nil
71}
72
73// IDToTableName implements the interface objinterface.Collection.
74func (pge *Collection) IDToTableName(identifier id.Id) doltdb.TableName {

Callers

nothing calls this directly

Calls 3

HasLoadedExtensionMethod · 0.95
ExtensionTypeAlias · 0.92
SectionMethod · 0.80

Tested by

no test coverage detected