A solution for updating multiple lines #1287
Unanswered
leandro-mafra
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Well, this project is really incredible, just install it, add Trait and that's it, the only problem is when updating or deleting several lines at a time.
Well, I imagine that several people have already encountered a situation similar to this.
Example
MyModel::where([['date', '<', '2024-01-01']])->update(['active' => false])
So I would like to know, what solution do users usually do to resolve this situation?
Beta Was this translation helpful? Give feedback.
All reactions