MCPcopy Create free account
hub / github.com/corestoreio/pkg / ExecValidateOneAffectedRow

Function ExecValidateOneAffectedRow

sql/dml/dbr.go:1391–1404  ·  view source on GitHub ↗

ExecValidateOneAffectedRow checks the sql.Result.RowsAffected if it returns one. If not returns an error of type NotValid. This function is useful for ExecContext function.

(res sql.Result, err error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

RowsAffectedMethod · 0.45

Tested by 1