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

Method IterAll

core/casts/root_object.go:84–88  ·  view source on GitHub ↗

IterAll implements the interface objinterface.Collection.

(ctx context.Context, callback func(rootObj objinterface.RootObject) (stop bool, err error))

Source from the content-addressed store, hash-verified

82
83// IterAll implements the interface objinterface.Collection.
84func (pgc *Collection) IterAll(ctx context.Context, callback func(rootObj objinterface.RootObject) (stop bool, err error)) error {
85 return pgc.IterateCasts(ctx, func(c Cast) (stop bool, err error) {
86 return callback(c)
87 })
88}
89
90// IterIDs implements the interface objinterface.Collection.
91func (pgc *Collection) IterIDs(ctx context.Context, callback func(identifier id.Id) (stop bool, err error)) error {

Callers

nothing calls this directly

Calls 1

IterateCastsMethod · 0.95

Tested by

no test coverage detected