packages feed

esqueleto 3.5.9.0 → 3.5.9.1

raw patch · 4 files changed

+12/−6 lines, 4 filesdep ~textPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: text

API changes (from Hackage documentation)

Files

changelog.md view
@@ -1,3 +1,9 @@+3.5.9.1+=======+- @duplode+    - [#363](https://github.com/bitemyapp/esqueleto/pull/363)+      - Add missing `just` to left join examples in the Haddocks+ 3.5.9.0 ======= - @9999years
esqueleto.cabal view
@@ -2,7 +2,7 @@  name:           esqueleto -version:        3.5.9.0+version:        3.5.9.1 synopsis:       Type-safe EDSL for SQL queries on persistent backends. description:    @esqueleto@ is a bare bones, type-safe EDSL for SQL queries that works with unmodified @persistent@ SQL backends.  Its language closely resembles SQL, so you don't have to learn new concepts, just new syntax, and it's fairly easy to predict the generated SQL and optimize it for your backend. Most kinds of errors committed when writing SQL are caught as compile-time errors---although it is possible to write type-checked @esqueleto@ queries that fail at runtime.                 .
src/Database/Esqueleto/Experimental.hs view
@@ -339,8 +339,8 @@ -- @ -- select $ -- from $ \\(people \`LeftOuterJoin\` blogPosts) -> do--- on (people ^. PersonId ==. blogPosts ?. BlogPostAuthorId)--- where_ (people ^. PersonAge >. val 18)+-- on (just (people ^. PersonId) ==. blogPosts ?. BlogPostAuthorId)+-- where_ (people ^. PersonAge >. just (val 18)) -- pure (people, blogPosts) -- @ --@@ -354,8 +354,8 @@ --     from $ table \@Person --     \`leftJoin\` table \@BlogPost --     \`on\` (\\(people :& blogPosts) ->---             people ^. PersonId ==. blogPosts ?. BlogPostAuthorId)--- where_ (people ^. PersonAge >. val 18)+--             just (people ^. PersonId) ==. blogPosts ?. BlogPostAuthorId)+-- where_ (people ^. PersonAge >. just (val 18)) -- pure (people, blogPosts) -- @ --
src/Database/Esqueleto/Experimental/From/Join.hs view
@@ -230,7 +230,7 @@ -- from $ table \@Person -- \`leftJoin\` table \@BlogPost -- \`on\` (\\(p :& bp) ->---         p ^. PersonId ==. bp ?. BlogPostAuthorId)+--         just (p ^. PersonId) ==. bp ?. BlogPostAuthorId) -- @ -- -- @since 3.5.0.0