Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Instances
Eq IsolationLevel Source # | |
Defined in Hasql.Private.Types (==) :: IsolationLevel -> IsolationLevel -> Bool # (/=) :: IsolationLevel -> IsolationLevel -> Bool # | |
Show IsolationLevel Source # | |
Defined in Hasql.Private.Types showsPrec :: Int -> IsolationLevel -> ShowS # show :: IsolationLevel -> String # showList :: [IsolationLevel] -> ShowS # |
A PostgreSQL transaction mode
data Deferrable Source #
A PostgreSQL transaction deferrability designation
Instances
Eq Deferrable Source # | |
Defined in Hasql.Private.Types (==) :: Deferrable -> Deferrable -> Bool # (/=) :: Deferrable -> Deferrable -> Bool # | |
Show Deferrable Source # | |
Defined in Hasql.Private.Types showsPrec :: Int -> Deferrable -> ShowS # show :: Deferrable -> String # showList :: [Deferrable] -> ShowS # |