persistent-postgresql 1.1.2.1 → 1.1.3
raw patch · 2 files changed
+9/−10 lines, 2 filesdep ~conduitdep ~monad-controldep ~persistent
Dependency ranges changed: conduit, monad-control, persistent, text, transformers
Files
Database/Persist/Postgresql.hs view
@@ -52,6 +52,7 @@ import Data.Aeson import Control.Monad (forM, mzero) import System.Environment (getEnvironment)+import Data.Int (Int64) -- | A @libpq@ connection string. A simple example of connection@@ -144,10 +145,8 @@ , T.unpack $ escape id' ] -execute' :: PG.Connection -> PG.Query -> [PersistValue] -> IO ()-execute' conn query vals = do- _ <- PG.execute conn query (map P vals)- return ()+execute' :: PG.Connection -> PG.Query -> [PersistValue] -> IO Int64+execute' conn query vals = PG.execute conn query (map P vals) withStmt' :: MonadResource m => PG.Connection
persistent-postgresql.cabal view
@@ -1,5 +1,5 @@ name: persistent-postgresql-version: 1.1.2.1+version: 1.1.3 license: MIT license-file: LICENSE author: Felipe Lessa, Michael Snoyman <michael@snoyman.com>@@ -14,17 +14,17 @@ library build-depends: base >= 4 && < 5- , transformers >= 0.2.1 && < 0.4+ , transformers >= 0.2.1 , postgresql-simple >= 0.2 && < 0.3 , postgresql-libpq >= 0.6.1 && < 0.9- , persistent >= 1.1.2 && < 1.2+ , persistent >= 1.1.5 && < 1.2 , containers >= 0.2 , bytestring >= 0.9- , text >= 0.7 && < 0.12- , monad-control >= 0.2 && < 0.4+ , text >= 0.7+ , monad-control >= 0.2 , time >= 1.1 , aeson >= 0.5- , conduit >= 0.5.3 && < 0.6+ , conduit >= 0.5.3 exposed-modules: Database.Persist.Postgresql ghc-options: -Wall