packages feed

hasql-cursor-query 0.4 → 0.4.1

raw patch · 2 files changed

+4/−4 lines, 2 filesdep ~hasql-cursor-transactionPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hasql-cursor-transaction

API changes (from Hackage documentation)

Files

hasql-cursor-query.cabal view
@@ -1,7 +1,7 @@ name:   hasql-cursor-query version:-  0.4+  0.4.1 category:   Hasql, Database, PostgreSQL, Streaming synopsis:@@ -57,7 +57,7 @@     -- database:     hasql >= 0.19 && < 0.20,     hasql-transaction >= 0.4.5.1 && < 0.5,-    hasql-cursor-transaction >= 0.5 && < 0.6,+    hasql-cursor-transaction >= 0.6 && < 0.7,     -- data:     bytestring >= 0.10 && < 0.11,     -- control:
library/Hasql/CursorQuery/Private/CursorTransactions.hs view
@@ -38,6 +38,6 @@ -- Executes CursorQuery in CursorTransaction provided the parameters. cursorQuery :: params -> B.CursorQuery params result -> G.CursorTransaction s result cursorQuery params (B.CursorQuery template encoder (B.ReducingDecoder rowDecoder rowsFold) batchSize) =-  G.withCursor template (G.encodedParams encoder params) $-  \ cursor ->+  do+    cursor <- G.declareCursor template (G.encodedParams encoder params)     fetchAndFoldCursor cursor batchSize rowDecoder rowsFold