persistent 0.6.4.1 → 0.6.4.2
raw patch · 2 files changed
+10/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
Database/Persist/GenericSql/Internal.hs view
@@ -191,7 +191,15 @@ case (isNull, pfilter, varCount) of (True, Eq, _) -> (name ++ " IS NULL", []) (True, Ne, _) -> (name ++ " IS NOT NULL", [])- (False, Ne, _) -> (name ++ " IS NULL", [])+ (False, Ne, _) -> (concat+ [ "("+ , name+ , " IS NULL OR "+ , name+ , " <> "+ , qmarks+ , ")"+ ], notNullVals) -- We use 1=2 (and below 1=1) to avoid using TRUE and FALSE, since -- not all databases support those words directly. (_, In, 0) -> ("1=2", [])
persistent.cabal view
@@ -1,5 +1,5 @@ name: persistent-version: 0.6.4.1+version: 0.6.4.2 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>