vendredi 17 mai 2019

Exclude attributes from isDirty Laravel

I am wondering how I can update a model where some attributes are not watched for isDirty() or updated_at. I have one field in this case which needs to be updated, without touching the updated_at timestamp.

I cannot find how to do this.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire