Skip to content

[DB] WithTx context/transaction helper #124

@cssbruno

Description

@cssbruno

Add transaction helper support around database/sql.

Scope:

  • Provide a WithTx-style helper that passes context and rolls back on errors.
  • Avoid domain-specific repository abstractions.

Acceptance criteria:

  • Commit and rollback behavior is tested.
  • Context cancellation behavior is documented or tested.
  • Docs show usage without adding a schema DSL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    addonOptional addon package workdbDatabase addon and database/sql integration workruntimeGOWDK Runtime packages and server behavior

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions