Skip to content

Glossary: Go in Practice

sql.Result

Also written: LastInsertId, RowsAffected

What `ExecContext` returns. `LastInsertId()` is the id SQLite chose for a new row and `RowsAffected()` counts the rows an UPDATE or DELETE changed.

Where the book teaches it

Related terms

db.ExecContextGuarded update