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

Method Close

database/sql/sql.go:270–272  ·  view source on GitHub ↗

Close closes the Rows, preventing further enumeration. If Next returns false, the Rows are closed automatically and it will suffice to check the result of Err. Close is idempotent and does not affect the result of Err.

()

Source from the content-addressed store, hash-verified

268// false, the Rows are closed automatically and it will suffice to check the
269// result of Err. Close is idempotent and does not affect the result of Err.
270func (rs *Rows) Close() error {
271 return rs.rows.Close()
272}
273
274// Next prepares the next result row for reading with the Scan method. It
275// returns true on success, or false if there is no next result row or an error

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected