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

Method RenameRootObject

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

RenameRootObject changes the ID for a root object matching the old ID.

(ctx context.Context, oldID id.Id, newID id.Id)

Source from the content-addressed store, hash-verified

75 PutRootObject(ctx context.Context, rootObj RootObject) error
76 // RenameRootObject changes the ID for a root object matching the old ID.
77 RenameRootObject(ctx context.Context, oldID id.Id, newID id.Id) error
78 // ResolveName finds the closest matching (or exact) ID for the given name. If an exact match is not found, then
79 // this may error if the name is ambiguous.
80 ResolveName(ctx context.Context, name doltdb.TableName) (doltdb.TableName, id.Id, error)

Callers 1

RenameTableMethod · 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