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
$where = ['user_id' => [1, 2, null]]
gets converted into
WHERE user_id IN (1, 2, null)
instead of
user_id IN (1, 2) OR user_id IS NULL
The text was updated successfully, but these errors were encountered:
We have to look into this. In the meantime could you please test if the following code is working for you?
// untested $spot->mapper($entityName)->where(['user_id' => [1, 2]])->orWhere(['user_id' => null]]);
In the future we have to cover this case with tests.
Sorry, something went wrong.
No branches or pull requests
$where = ['user_id' => [1, 2, null]]
gets converted into
WHERE user_id IN (1, 2, null)
instead of
user_id IN (1, 2) OR user_id IS NULL
The text was updated successfully, but these errors were encountered: