from the godocs for Tx.StmtContext:
The returned statement operates within the transaction and will be closed when the transaction has been committed or rolled back.
This makes it syntactically nicer to not defer stmt.Close() when using StmtContext
Is it possible to ignore errors for these statements?
from the godocs for Tx.StmtContext:
This makes it syntactically nicer to not
defer stmt.Close()when usingStmtContextIs it possible to ignore errors for these statements?