IteratorResult is a row of data with a row number and named columns of data. Internally it has an unstructured list for efficient collection. The ToMap() function can be used to make inspection easier.
| 180 | // Internally it has an unstructured list for efficient collection. The ToMap() |
| 181 | // function can be used to make inspection easier. |
| 182 | type IteratorResult struct { |
| 183 | RowNumber RowNumber |
| 184 | Entries []struct { |
| 185 | Key string |
| 186 | Value pq.Value |
| 187 | } |
| 188 | OtherEntries []struct { |
| 189 | Key string |
| 190 | Value interface{} |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | func (r *IteratorResult) Reset() { |
| 195 | r.Entries = r.Entries[:0] |
nothing calls this directly
no outgoing calls
no test coverage detected