Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
renderDbError :: DbError -> Text Source #
data DbPoolConfiguration Source #
Instances
Eq DbPoolConfiguration Source # | |
Defined in Traction.Control (==) :: DbPoolConfiguration -> DbPoolConfiguration -> Bool # (/=) :: DbPoolConfiguration -> DbPoolConfiguration -> Bool # | |
Ord DbPoolConfiguration Source # | |
Defined in Traction.Control compare :: DbPoolConfiguration -> DbPoolConfiguration -> Ordering # (<) :: DbPoolConfiguration -> DbPoolConfiguration -> Bool # (<=) :: DbPoolConfiguration -> DbPoolConfiguration -> Bool # (>) :: DbPoolConfiguration -> DbPoolConfiguration -> Bool # (>=) :: DbPoolConfiguration -> DbPoolConfiguration -> Bool # max :: DbPoolConfiguration -> DbPoolConfiguration -> DbPoolConfiguration # min :: DbPoolConfiguration -> DbPoolConfiguration -> DbPoolConfiguration # | |
Show DbPoolConfiguration Source # | |
Defined in Traction.Control showsPrec :: Int -> DbPoolConfiguration -> ShowS # show :: DbPoolConfiguration -> String # showList :: [DbPoolConfiguration] -> ShowS # |
newPoolWith :: ByteString -> DbPoolConfiguration -> Db () -> IO DbPool Source #
newRollbackPool :: ByteString -> IO DbPool Source #
newRollbackPoolWith :: ByteString -> DbPoolConfiguration -> Db () -> IO DbPool Source #
withRollbackSingletonPool :: (MonadMask m, MonadIO m) => ByteString -> (DbPool -> m a) -> m a Source #
withConnection :: Query -> (Connection -> IO a) -> Db a Source #