MCPcopy
hub / github.com/go-sql-driver/mysql / Next

Method Next

rows.go:193–203  ·  view source on GitHub ↗
(dest []driver.Value)

Source from the content-addressed store, hash-verified

191}
192
193func (rows *binaryRows) Next(dest []driver.Value) error {
194 if mc := rows.mc; mc != nil {
195 if err := mc.error(); err != nil {
196 return err
197 }
198
199 // Fetch next row from stream
200 return rows.readRow(dest)
201 }
202 return io.EOF
203}
204
205func (rows *textRows) NextResultSet() (err error) {
206 resLen, err := rows.nextNotEmptyResultSet()

Callers

nothing calls this directly

Calls 2

readRowMethod · 0.95
errorMethod · 0.80

Tested by

no test coverage detected