Skip to content

How to run multiple queries in a transaction #82

@chris-martin

Description

@chris-martin
  • With postgresql-simple, I would wrap the IO in withTransaction or one of its related functions.
  • If I were writing hasql Statements, I would use hasql-transaction.

Is there likewise an answer for this with rel8? Do I need to drop down to the level of the hasql package and write Statements for "begin transaction", "commit", etc?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions