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

Don't throw an error when using PropertyInListExpression and an empty list #12

Open
caseycesari opened this issue Nov 14, 2014 · 0 comments

Comments

@caseycesari
Copy link

If you provide PropertyInListExpression with an empty list, NetDAO throws an error

Cannot query for {{ insert field name here }} values in an empty list.

In my case, I'm generating the list dynamically, and sometimes it may be empty. Current workarounds are to 1) populate the list with a -1 if the list is empty, or 2) not add the criteria if the list is empty.

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

No branches or pull requests

1 participant