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

Method IterAll

core/sequences/root_object.go:301–305  ·  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

299
300// IterAll implements the interface objinterface.Collection.
301func (pgs *Collection) IterAll(ctx context.Context, callback func(rootObj objinterface.RootObject) (stop bool, err error)) error {
302 return pgs.IterateSequences(ctx, func(seq *Sequence) (stop bool, err error) {
303 return callback(seq)
304 })
305}
306
307// IterIDs implements the interface objinterface.Collection.
308func (pgs *Collection) IterIDs(ctx context.Context, callback func(identifier id.Id) (stop bool, err error)) error {

Callers

nothing calls this directly

Calls 1

IterateSequencesMethod · 0.95

Tested by

no test coverage detected