Closed timds closed 6 years ago
I have added an mtl-style 'withTransactionC' function since postgres-simple is restricted to IO only. The function rolls back if there is an exception mid-way through the transaction. I added the safe-exceptions package to achieve this.
safe-exceptions
I have added an mtl-style 'withTransactionC' function since postgres-simple is restricted to IO only. The function rolls back if there is an exception mid-way through the transaction. I added the
safe-exceptions
package to achieve this.