We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I try to select multiple countries using an array based on the Collection methods whereIn or whereNotIn, I get no results.
whereIn
whereNotIn
I.e., the following return an empty collection:
Countries::whereIn("name.common", ["Netherlands", "Belgium"])->pluck("name.common"); Countries::whereNotIn("name.common", ["Netherlands", "Belgium"])->pluck("name.common");
While in the same context these work fine:
Countries::where("name.common", "Netherlands")->pluck("name.common"); Countries::where("name.common", "Belgium")->pluck("name.common");
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I try to select multiple countries using an array based on the Collection methods
whereIn
orwhereNotIn
, I get no results.I.e., the following return an empty collection:
While in the same context these work fine:
The text was updated successfully, but these errors were encountered: