Skip to main content

All Questions

Tagged with
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 ...
Vincenzo Locatelli's user avatar
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
Daniele Longheu's user avatar