@hackage hasql-transaction-io0.2.8.0
Perform IO actions during transactions for Hasql
Installation
Dependencies (10)
- base >=4.14 && <5
- bytestring >=0.10 && <0.13
- bytestring-tree-builder ^>=0.2
- exceptions ^>=0.10
- hasql >=1.7 && <1.9
- mtl ^>=2.3 Show all…
Dependents (6)
@hackage/hasql-streams-example, @hackage/hasql-streams-core, @hackage/hasql-streams-streamly, @hackage/hasql-streams-pipes, @hackage/hasql-streams-streaming, @hackage/hasql-streams-conduit
Perform IO actions during transactions for Hasql. If you need transactions in hasql but do not need to perform IO in the middle of the transaction, use haslq-transaction. This packages differs from hasql-transaction in that it sacrifices invisible retries for the ability to perform arbitrary IO in the middle of a transaction. This is beneficial when your transaction is long-lived (e.g. when using cursors) and you wish to perform IO with requested data. See hasql-streams-core for an example use case.