Scan copies the columns in the current row into the values pointed at by dest. If an argument has type *[]byte, Scan saves in that argument a copy of the corresponding data. The copy is owned by the caller and can be modified and held indefinitely. The copy can be avoided by using an argument of ty
(dest ...interface{})
| 300 | // provided by the underlying driver without conversion. If the value |
| 301 | // is of type []byte, a copy is made and the caller owns the result. |
| 302 | func (rs *Rows) Scan(dest ...interface{}) error { |
| 303 | return rs.rows.Scan(dest...) |
| 304 | } |
| 305 | |
| 306 | // Scan copies the columns from the matched row into the values |
| 307 | // pointed at by dest. If more than one row matches the query, |