Skip to content

Support for ignoring statements from StmtContext #9

@camhashemi

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?

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