packages feed

hasql-backend 0.3.0 → 0.4.0

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- Hasql.Backend: StreamTx :: (Stmt c) -> (ListT (Tx c) (ResultRow c) -> x) -> TxF c x
+ Hasql.Backend: StreamTx :: Int -> (Stmt c) -> (ListT (Tx c) (ResultRow c) -> x) -> TxF c x
- Hasql.Backend: streamTx :: Stmt c -> Tx c (ListT (Tx c) (ResultRow c))
+ Hasql.Backend: streamTx :: Int -> Stmt c -> Tx c (ListT (Tx c) (ResultRow c))

Files

hasql-backend.cabal view
@@ -1,7 +1,7 @@ name:   hasql-backend version:-  0.3.0+  0.4.0 synopsis:   API for backends of "hasql" description:
library/Hasql/Backend.hs view
@@ -120,7 +120,7 @@   UnitTx (Stmt c) x |   CountTx (Stmt c) (Word64 -> x) |   VectorTx (Stmt c) (Vector (ResultRow c) -> x) |-  StreamTx (Stmt c) (ListT (Tx c) (ResultRow c) -> x)+  StreamTx Int (Stmt c) (ListT (Tx c) (ResultRow c) -> x)   deriving (Functor)  @@ -133,8 +133,8 @@ vectorTx :: Stmt c -> Tx c (Vector (ResultRow c)) vectorTx s = liftF (VectorTx s id) -streamTx :: Stmt c -> Tx c (ListT (Tx c) (ResultRow c))-streamTx s = liftF (StreamTx s id)+streamTx :: Int -> Stmt c -> Tx c (ListT (Tx c) (ResultRow c))+streamTx n s = liftF (StreamTx n s id)