MCPcopy Create free account
hub / github.com/chain/Core / Scan

Method Scan

database/sql/sql.go:302–304  ·  view source on GitHub ↗

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{})

Source from the content-addressed store, hash-verified

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.
302func (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,

Callers

nothing calls this directly

Calls 1

ScanMethod · 0.45

Tested by

no test coverage detected