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

Where query with an empty array gets omitted #293

Open
NerdyProjects opened this issue May 15, 2019 · 0 comments
Open

Where query with an empty array gets omitted #293

NerdyProjects opened this issue May 15, 2019 · 0 comments

Comments

@NerdyProjects
Copy link

Hey there,

I have the following code:

$regions = [];
$query = $query->where('fs.bezirk_id', $regions);

which is effectively a noop whereby I would expect the query to always return 0 results in that case... Are my expectations or the behaviour wrong? :-)

Thanks.

Let me also use this issue to bring #271 back to your attention...

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