mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-11-29 14:45:51 +03:00
update haddock.
This commit is contained in:
parent
9282aca592
commit
07cc222c4d
@ -82,6 +82,7 @@ withConnectionIO = withConnection bracket id
|
|||||||
|
|
||||||
-- | Same as 'withConnectionIO' other than issuing commit at the end of transaction body.
|
-- | Same as 'withConnectionIO' other than issuing commit at the end of transaction body.
|
||||||
-- In other words, the transaction with no exception is committed.
|
-- In other words, the transaction with no exception is committed.
|
||||||
|
-- Handy defintion for simple transactions.
|
||||||
withConnectionCommit :: IConnection conn
|
withConnectionCommit :: IConnection conn
|
||||||
=> IO conn -- ^ Connect action
|
=> IO conn -- ^ Connect action
|
||||||
-> (conn -> IO a) -- ^ Transaction body
|
-> (conn -> IO a) -- ^ Transaction body
|
||||||
|
Loading…
Reference in New Issue
Block a user