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

Method Next

database/sql/sql.go:280–282  ·  view source on GitHub ↗

Next prepares the next result row for reading with the Scan method. It returns true on success, or false if there is no next result row or an error happened while preparing it. Err should be consulted to distinguish between the two cases. Every call to Scan, even the first one, must be preceded b

()

Source from the content-addressed store, hash-verified

278//
279// Every call to Scan, even the first one, must be preceded by a call to Next.
280func (rs *Rows) Next() bool {
281 return rs.rows.Next()
282}
283
284// Err returns the error, if any, that was encountered during iteration.
285// Err may be called after an explicit or implicit Close.

Callers 12

ForQueryRowsFunction · 0.80
gcdbsFunction · 0.80
QueryMethod · 0.80
loadStatusFunction · 0.80
BalancesMethod · 0.80
fetchTransactionsMethod · 0.80
AccountsMethod · 0.80
OutputsMethod · 0.80
AssetsMethod · 0.80
dumpBlocksFunction · 0.80
captureDBStatsFunction · 0.80
captureDBStatsFunction · 0.80

Calls

no outgoing calls

Tested by 1

dumpBlocksFunction · 0.64