All Questions
2
questions
0
votes
0
answers
98
views
Two duplicate rows | Laravel BUG
it is possible that there are two duplicate rows of my database, exactly identical.
In the function I used for its creation I called once $ resource-> save () and a few times $ resource-> update ...
87
votes
3
answers
160k
views
Laravel: Listen for Model save or update (after or before they're done)
I need to generate a function to call after or before save() or update() but i don't know how to do.
I think I need a callback from save() update() but I don't know how to do.
Thanks