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

Method IterAll

core/functions/root_object.go:235–239  ·  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

233
234// IterAll implements the interface objinterface.Collection.
235func (pgf *Collection) IterAll(ctx context.Context, callback func(rootObj objinterface.RootObject) (stop bool, err error)) error {
236 return pgf.IterateFunctions(ctx, func(f Function) (stop bool, err error) {
237 return callback(f)
238 })
239}
240
241// IterIDs implements the interface objinterface.Collection.
242func (pgf *Collection) IterIDs(ctx context.Context, callback func(identifier id.Id) (stop bool, err error)) error {

Callers

nothing calls this directly

Calls 1

IterateFunctionsMethod · 0.95

Tested by

no test coverage detected