mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-12-28 13:02:31 +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.
|
-- Execute a statement and count the amount of affected rows.
|
||||||
-- Useful for resolving how many rows were updated or deleted.
|
-- 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 =
|
countTx s =
|
||||||
Transaction $ ReaderT $ Backend.executeAndCountEffects s
|
Transaction $ ReaderT $ Backend.executeAndCountEffects s
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user