Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel model isdirty

if($model->isDirty()){
// the model has been edited, else codes here will not be executed
}
 
PREVIOUS NEXT
Tagged: #laravel #model #isdirty
ADD COMMENT
Topic
Name
2+1 =