Not worked for me in update #740
Answered
by
abdosaeedelhassan
abdosaeedelhassan
asked this question in
Q&A
-
i do all installation steps as configrations steps as described in next vedio but inside model not worked for me in update, only on create |
Beta Was this translation helpful? Give feedback.
Answered by
abdosaeedelhassan
Jun 7, 2020
Replies: 2 comments 3 replies
-
finally i found the solution not worked like worked like i don't know why where condition not fired the event |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
abdosaeedelhassan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
finally i found the solution
not worked like
Orders::where('id', '=', $orders->id)->update($data);
worked like
Orders::find($orders->id)->update($data);
i don't know why where condition not fired the event