Next tries to get the next item in the query result and decodes into Document with the driver's codec. When there are no more results, it should return io.EOF. Once Next returns a non-nil error, it will never be called again.
(context.Context, Document)
| 230 | // When there are no more results, it should return io.EOF. |
| 231 | // Once Next returns a non-nil error, it will never be called again. |
| 232 | Next(context.Context, Document) error |
| 233 | |
| 234 | // Stop terminates the iterator before Next return io.EOF, allowing any cleanup |
| 235 | // needed. |
no outgoing calls