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

Method DropRootObject

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

DropRootObject removes the given root object from the collection.

(ctx context.Context, identifier id.Id)

Source from the content-addressed store, hash-verified

57 DiffRootObjects(ctx context.Context, fromHash string, ours RootObject, theirs RootObject, ancestor RootObject) ([]RootObjectDiff, RootObject, error)
58 // DropRootObject removes the given root object from the collection.
59 DropRootObject(ctx context.Context, identifier id.Id) error
60 // GetFieldType returns the type associated with the given diff field name. Returns nil if the name is invalid.
61 GetFieldType(ctx context.Context, fieldName string) *pgtypes.DoltgresType
62 // GetID returns the identifying ID for the Collection.

Callers 3

PutRootObjectFunction · 0.65
RemoveRootObjectFunction · 0.65
RemoveRootObjectIfExistsFunction · 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