()
| 37 | } |
| 38 | |
| 39 | func (iter *DriverRowIter) String() string { |
| 40 | var sb strings.Builder |
| 41 | for i, col := range iter.schema { |
| 42 | if i > 0 { |
| 43 | sb.WriteString(" ") |
| 44 | } |
| 45 | sb.WriteString(col.Type.String()) |
| 46 | } |
| 47 | return fmt.Sprintf("DriverRowIter: columns=%v, schema=[%s]", iter.columns, formatSchema(iter.schema)) |
| 48 | } |
| 49 | |
| 50 | // Next retrieves the next row. It will return io.EOF if it's the last row. |
| 51 | func (iter *DriverRowIter) Next(ctx *sql.Context) (sql.Row, error) { |
no test coverage detected