Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
getPool :: Environment -> IO ConnectionPool Source
createConnectionString :: [(Text, Text)] -> ConnectionString Source
runApplication :: Config -> IO () Source
ConfigM | |
|
getOptions :: Environment -> IO Options Source
getSettings :: Environment -> IO Settings Source
application :: ScottyT Error ConfigM () Source
runDB :: (MonadTrans t, MonadIO (t ConfigM)) => SqlPersistT IO a -> t ConfigM a Source
loggingM :: Environment -> Middleware Source
defaultH :: Environment -> Error -> Action Source
toKey :: ToBackendKey SqlBackend a => Integer -> Key a Source