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

Method GetRootObject

core/rootobject/objinterface/interfaces.go:65–65  ·  view source on GitHub ↗

GetRootObject returns the root object matching the given ID. Returns false if it cannot be found.

(ctx context.Context, identifier id.Id)

Source from the content-addressed store, hash-verified

63 GetID() RootObjectID
64 // GetRootObject returns the root object matching the given ID. Returns false if it cannot be found.
65 GetRootObject(ctx context.Context, identifier id.Id) (RootObject, bool, error)
66 // HasRootObject returns whether a root object exactly matching the given ID was found.
67 HasRootObject(ctx context.Context, identifier id.Id) (bool, error)
68 // IDToTableName converts the given ID to a table name. The table name will be empty for invalid IDs.

Callers 3

GetTableHashMethod · 0.65
GetRootObjectFunction · 0.65
GetRootObjectConflictsFunction · 0.65

Implementers 8

Collectioncore/triggers/collection.go
Collectioncore/functions/collection.go
Collectioncore/conflicts/collection.go
Collectioncore/extensions/collection.go
Collectioncore/sequences/collection.go
Collectioncore/procedures/collection.go
Collectioncore/casts/collection.go
TypeCollectioncore/typecollection/typecollection.go

Calls

no outgoing calls

Tested by

no test coverage detected