mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-12-26 20:12:09 +03:00
Get rid of the Integer mapping dependency
This commit is contained in:
parent
5969dc4376
commit
829caa6c50
@ -123,7 +123,7 @@ unitTx s =
|
||||
-- |
|
||||
-- Execute a statement and count the amount of affected rows.
|
||||
-- Useful for resolving how many rows were updated or deleted.
|
||||
countTx :: (Backend.Mapping b Integer) => StatementTx b s Integer
|
||||
countTx :: (Backend.Mapping b Word64) => StatementTx b s Word64
|
||||
countTx s =
|
||||
Transaction $ ReaderT $ Backend.executeAndCountEffects s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user