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

Method Next

rows.go:215–225  ·  rows.go::textRows.Next
(dest []driver.Value)

Source from the content-addressed store, hash-verified

213}
214
215func (rows *textRows) Next(dest []driver.Value) error {
216 if mc := rows.mc; mc != nil {
217 if err := mc.error(); err != nil {
218 return err
219 }
220
221 // Fetch next row from stream
222 return rows.readRow(dest)
223 }
224 return io.EOF
225}

Callers 15

TestEmptyQueryFunction · 0.45
TestCRUDFunction · 0.45
TestNumbersToAnyFunction · 0.45
TestMultiQueryFunction · 0.45
TestIntFunction · 0.45
TestFloat32Function · 0.45
TestFloat64Function · 0.45
TestFloat64PlaceholderFunction · 0.45
TestStringFunction · 0.45
TestRawBytesFunction · 0.45
TestRawMessageFunction · 0.45
TestValuerFunction · 0.45

Calls 2

readRowMethod · 0.95
errorMethod · 0.80

Tested by 15

TestEmptyQueryFunction · 0.36
TestCRUDFunction · 0.36
TestNumbersToAnyFunction · 0.36
TestMultiQueryFunction · 0.36
TestIntFunction · 0.36
TestFloat32Function · 0.36
TestFloat64Function · 0.36
TestFloat64PlaceholderFunction · 0.36
TestStringFunction · 0.36
TestRawBytesFunction · 0.36
TestRawMessageFunction · 0.36
TestValuerFunction · 0.36