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

Method PutRootObject

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

PutRootObject updates the Collection with the given root object. This may error if the root object already exists.

(ctx context.Context, rootObj RootObject)

Source from the content-addressed store, hash-verified

73 IterIDs(ctx context.Context, callback func(identifier id.Id) (stop bool, err error)) error
74 // PutRootObject updates the Collection with the given root object. This may error if the root object already exists.
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

Callers 1

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