HasNext increments the row cursor. If we're at the end, it'll return false.
()
| 57 | |
| 58 | // HasNext increments the row cursor. If we're at the end, it'll return false. |
| 59 | func (c *DalCursorIterator) HasNext() bool { |
| 60 | return c.cursor.Next() |
| 61 | } |
| 62 | |
| 63 | // Fetch if batching is disabled, it'll read a single row, otherwise it'll read as many rows up to the batch size, and the |
| 64 | // runtime return type will be []interface{}. Note, HasNext needs to have been called before invoking this. |