Skip to content

Support for ignoring statements from StmtContext #9

Description

@camhashemi

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions