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

Method HasRootObject

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

HasRootObject returns whether a root object exactly matching the given ID was found.

(ctx context.Context, identifier id.Id)

Source from the content-addressed store, hash-verified

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.
69 IDToTableName(identifier id.Id) doltdb.TableName
70 // IterAll iterates over all root objects in the Collection.

Callers 2

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