persistent-sqlite 0.8.0 → 0.9.0
raw patch · 2 files changed
+8/−7 lines, 2 filesdep ~conduitdep ~persistentdep ~transformers
Dependency ranges changed: conduit, persistent, transformers
Files
Database/Persist/Sqlite.hs view
@@ -44,13 +44,14 @@ createSqlitePool :: MonadIO m => Text -> Int -> m ConnectionPool createSqlitePool s = createSqlPool $ open' s -withSqlitePool :: C.ResourceIO m+withSqlitePool :: (MonadBaseControl IO m, MonadIO m) => Text -> Int -- ^ number of connections to open -> (ConnectionPool -> m a) -> m a withSqlitePool s = withSqlPool $ open' s -withSqliteConn :: C.ResourceIO m => Text -> (Connection -> m a) -> m a+withSqliteConn :: (MonadBaseControl IO m, MonadIO m)+ => Text -> (Connection -> m a) -> m a withSqliteConn = withSqlConn . open' open' :: Text -> IO Connection@@ -107,7 +108,7 @@ return () withStmt'- :: C.ResourceIO m+ :: C.MonadResource m => Sqlite.Statement -> [PersistValue] -> C.Source m [PersistValue]
persistent-sqlite.cabal view
@@ -1,5 +1,5 @@ name: persistent-sqlite-version: 0.8.0+version: 0.9.0 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -19,13 +19,13 @@ library build-depends: base >= 4 && < 5 , bytestring >= 0.9.1 && < 0.10- , transformers >= 0.2.1 && < 0.3- , persistent >= 0.8 && < 0.9+ , transformers >= 0.2.1 && < 0.4+ , persistent >= 0.9 && < 0.10 , monad-control >= 0.2 && < 0.4 , containers >= 0.2 && < 0.5 , text >= 0.7 && < 1 , aeson >= 0.5- , conduit >= 0.2+ , conduit >= 0.4 && < 0.5 exposed-modules: Database.Sqlite Database.Persist.Sqlite ghc-options: -Wall