MCPcopy Create free account
hub / github.com/google/go-cloud / DocumentIterator

Struct DocumentIterator

docstore/query.go:264–268  ·  view source on GitHub ↗

DocumentIterator iterates over documents. Always call Stop on the iterator.

Source from the content-addressed store, hash-verified

262//
263// Always call Stop on the iterator.
264type DocumentIterator struct {
265 iter driver.DocumentIterator
266 coll *Collection
267 err error // already wrapped
268}
269
270// Next stores the next document in dst. It returns io.EOF if there are no more
271// documents.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected