| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hasql.TransactionIO.Sessions
Synopsis
- transactionIO :: IsolationLevel -> Mode -> Deferrable -> TransactionIO a -> Session a
- unpreparedTransactionIO :: IsolationLevel -> Mode -> Deferrable -> TransactionIO a -> Session a
- data IsolationLevel
- data Mode
- data Deferrable
Documentation
transactionIO :: IsolationLevel -> Mode -> Deferrable -> TransactionIO a -> Session a Source #
Run a prepared transaction with the given properties
unpreparedTransactionIO :: IsolationLevel -> Mode -> Deferrable -> TransactionIO a -> Session a Source #
Run an unprepared transaction with the given properties
data IsolationLevel Source #
A PostgreSQL transaction isolation level
Constructors
| ReadCommitted | |
| RepeatableRead | |
| Serializable |
Instances
| Eq IsolationLevel Source # | |
Defined in Hasql.Private.Types Methods (==) :: IsolationLevel -> IsolationLevel -> Bool # (/=) :: IsolationLevel -> IsolationLevel -> Bool # | |
| Show IsolationLevel Source # | |
Defined in Hasql.Private.Types Methods showsPrec :: Int -> IsolationLevel -> ShowS # show :: IsolationLevel -> String # showList :: [IsolationLevel] -> ShowS # | |
A PostgreSQL transaction mode
data Deferrable Source #
A PostgreSQL transaction deferrability designation
Constructors
| Deferrable | |
| NotDeferrable |
Instances
| Eq Deferrable Source # | |
Defined in Hasql.Private.Types | |
| Show Deferrable Source # | |
Defined in Hasql.Private.Types Methods showsPrec :: Int -> Deferrable -> ShowS # show :: Deferrable -> String # showList :: [Deferrable] -> ShowS # | |