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

Method LoadCollection

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

LoadCollection loads the Collection from the given root.

(ctx context.Context, root RootValue)

Source from the content-addressed store, hash-verified

89 HandleMerge(ctx context.Context, mro merge.MergeRootObject) (doltdb.RootObject, *merge.MergeStats, error)
90 // LoadCollection loads the Collection from the given root.
91 LoadCollection(ctx context.Context, root RootValue) (Collection, error)
92 // LoadCollectionHash loads the Collection hash from the given root. This does not load the entire collection from
93 // the root, and is therefore a bit more performant if only the hash is needed.
94 LoadCollectionHash(ctx context.Context, root RootValue) (hash.Hash, error)

Callers 5

GetRootObjectFunction · 0.65
GetRootObjectConflictsFunction · 0.65
LoadAllCollectionsFunction · 0.65
LoadCollectionFunction · 0.65
ResolveNameFunction · 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