Get rid of the Integer mapping dependency

This commit is contained in:
Nikita Volkov 2014-10-23 15:23:15 +04:00
parent 5969dc4376
commit 829caa6c50

View File

@ -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