What is the difference between updating
and updated
for eloquent model events?
My guess was that updating
fires before a model is updated and updated
after the model was updated. This implied to me that updating
should always trigger when I update a model - even if no value has actually changed. However both events seem to only trigger when an event has actually changed a value in the DB. What is the difference then?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire