-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter FieldName <-. [Nothing]
not finding expected results
#1473
Comments
I see this is because I'm not sure if anything would break if that would be adjusted internally, but I do know that |
Yeah currently my workaround is selectList
[ case ages of
[] -> PersonAge ==. Nothing
_:_ -> PersonAge <-. Nothing : map Just ages
]
[] |
If you always want the selectList ([PersonAge ==. Nothing] ||. [PersonAge <-. map Just ages]) [] |
Yes, there are many workarounds to this surprising behaviour. |
I agree that this should be fixed, fwiw |
Would changing the |
I'm running into some odd behaviour where the filter
FieldName <-. [Just v, Nothing]
finds rows whereFieldName
is eithernull
orv
, butFieldName <-. [Nothing]
doesn't find any rows at all.Here's a complete repro using sqlite, but I've also observed this in Postgres.
The text was updated successfully, but these errors were encountered: