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

Method Scan

database/sql/sql.go:310–312  ·  view source on GitHub ↗

Scan copies the columns from the matched row into the values pointed at by dest. If more than one row matches the query, Scan uses the first row and discards the rest. If no row matches the query, Scan returns ErrNoRows.

(dest ...interface{})

Source from the content-addressed store, hash-verified

308// Scan uses the first row and discards the rest. If no row matches
309// the query, Scan returns ErrNoRows.
310func (r *Row) Scan(dest ...interface{}) error {
311 return r.row.Scan(dest...)
312}

Callers 3

ScanMethod · 0.45
ForQueryRowsFunction · 0.45
gcdbsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected