-
Notifications
You must be signed in to change notification settings - Fork 102
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
Wrong type inference for QueryBuilder::update and QueryBuilder::delete. #259
Comments
I believe that there are two distinct issues here. The first one is that
may be If that's the case, the second issue is that the type of |
Indeed |
Thank you. I'm fixing the second issue in #260. I'm not sure about the cause of the first issue. What is the type of |
Yes, it's just a DELETE with a WHERE condition on ids. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The following code
Is considering
$result
as an array. But it's an int: the number of deleted elements. Same withupdate()
It was introduce by #232 cc @arnaud-lb
The text was updated successfully, but these errors were encountered: