Hets - the Heterogeneous Tool Set

Safe HaskellNone

Persistence.SQLite

Documentation

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