samedi 30 septembre 2017

Laravel eloquent updateOrCreate(), do something only if create?

I use in my laravel 5.5 app Model::updateOrCreate(), it works, but by 1 parameter I wish to do something only if entry is creating and not updating model, is this possible?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2fZ0Ewm
via IFTTT

Aucun commentaire:

Enregistrer un commentaire