Hets - the Heterogeneous Tool Set

Safe HaskellNone

Persistence.DatabaseConnection

Documentation

getConnection :: (BaseBackend backend ~ SqlBackend, IsPersistBackend backend, MonadIO m, MonadBaseControl IO m, MonadLogger m) => DBConfig -> IO ((Pool backend -> m a) -> m a) Source #