Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data RequestF backend a Source #
Query ByteString (([ColumnInfo backend], [Row backend]) -> a) | |
Execute ByteString (Integer -> a) | |
GetBackend (backend -> a) | |
ThrowError SeakaleError | |
CatchError a (SeakaleError -> a) |
Monad m => MonadSeakaleBase backend (FreeT (RequestF backend) m) Source # | |
Monad m => MonadRequest backend (FreeT (RequestF backend) m) Source # | |
Monad m => MonadStore backend (RequestT backend m) Source # | |
Monad m => MonadSelect backend (RequestT backend m) Source # | |
Functor (RequestF backend) Source # | |
class MonadSeakaleBase backend m => MonadRequest backend m where Source #
query :: ByteString -> m ([ColumnInfo backend], [Row backend]) Source #
execute :: ByteString -> m Integer Source #
(MonadRequest backend m, MonadTrans t, MonadSeakaleBase backend (t m)) => MonadRequest backend (t m) Source # | |
Monad m => MonadRequest backend (FreeT (RequestF backend) m) Source # | |
runRequestT :: (Backend backend, MonadBackend backend m, Monad m) => backend -> RequestT backend m a -> m (Either SeakaleError a) Source #
runRequest :: (Backend backend, MonadBackend backend m, Monad m) => backend -> Request backend a -> m (Either SeakaleError a) Source #