Skip to content
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

Proper handling of IS NULL and IS NOT NULL when multiple conditions are used #8

Open
dnnancy opened this issue Aug 28, 2013 · 1 comment
Labels

Comments

@dnnancy
Copy link

dnnancy commented Aug 28, 2013

SELECT Name FROM Customer
WHERE telephone IS NOT NULL
  AND email IS NULL
  AND TwitterId IS NULL

When parsing the above SQL script, the WHERE condition is evaluated as a CriteriaExpression, with the left part being "telephone" and the right part being "NOT NULL AND email IS NULL AND TwitterId IS NULL".

Thanks for the great library.

@benlaan
Copy link
Owner

benlaan commented Sep 27, 2013

Please provide a failing test to clarify this issue. I'm not sure what the problem is

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants