Postgres treats x in () and x not in () as syntax errors. Instead translate:
x in () ⇒ FALSE
x not in () ⇒ TRUE
Older versions of esqueleto did both of these, but apparently the latter got lost in the most recent version. See issue #272.
Before submitting your PR, check that you've:
[x] Bumped the version number. I'm not sure what the version number should be, looks like esqueleto uses PVP? I bumped the smallest component to 3.5.2.1 since this is a bugfix
Postgres treats
x in ()
andx not in ()
as syntax errors. Instead translate:Older versions of esqueleto did both of these, but apparently the latter got lost in the most recent version. See issue #272.
Before submitting your PR, check that you've:
I'm not sure what the version number should be, looks like esqueleto uses PVP?I bumped the smallest component to3.5.2.1
since this is a bugfix@since
declarations to the Haddock. N/Astylish-haskell
and otherwise adhered to the style guide.After submitting your PR: