| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hasql.Transaction.Sessions
Contents
Synopsis
- transaction :: IsolationLevel -> Mode -> Transaction a -> Session a
- data Mode
- data IsolationLevel
Documentation
transaction :: IsolationLevel -> Mode -> Transaction a -> Session a Source #
Execute the transaction using the provided isolation level and mode.
Transaction settings
data IsolationLevel Source #
For reference see the Postgres' documentation.
Constructors
| ReadCommitted | |
| RepeatableRead | |
| Serializable |