-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Deleting models while joined with another table with a where clause messes up the bindings. #18944
Comments
5.1 is no longer supported. Can you check if issue persists on 5.5? |
The mentioned problem is no longer valid - in my tests.
MySQL : 5.7.19 |
@abdumu I believe what you're mentioning is #13909 However:
These two sentences contradict itself, don't they? How can we know the binding problem is really gone when the whole thing doesn't yet work? 😄 |
@mfn How can we know the binding problem is really gone when the whole thing doesn't yet work? Shukran 🙂 |
Well, then this issue can be closed 😄 👍 |
Description:
When trying to softdelete a model while joining with another table and using a where clause in the join function messes up the bindings.
Steps To Reproduce:
Model is using softdeletes, while the joined one is not.
Now the query, which is correct, is:
But the bindings are messed up as the last one should be the first one actually:
The text was updated successfully, but these errors were encountered: