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