ResultIterator is used to iterate over a list of results from a query on a table. When a ResultIterator is created from a write transaction, the results from Next will reflect a snapshot of the table at the time the ResultIterator is created. This means that calling Insert or Delete on a transactio
| 723 | // index will be invalidated. This may result in some additional allocations if |
| 724 | // the same node in the index is modified again. |
| 725 | type ResultIterator interface { |
| 726 | WatchCh() <-chan struct{} |
| 727 | // Next returns the next result from the iterator. If there are no more results |
| 728 | // nil is returned. |
| 729 | Next() interface{} |
| 730 | } |
| 731 | |
| 732 | // Get is used to construct a ResultIterator over all the rows that match the |
| 733 | // given constraints of an index. The index values must match exactly (this |
no outgoing calls
no test coverage detected
searching dependent graphs…