eloquent create new record not reflect some parameter code example
Example 1: laravel model is dirty
if($product->isDirty()){
// changes have been made
}
Example 2: laravel find query
$model = App\Models\Flight::where('legs', '>', 100)
->firstOr(['id', 'legs'], function () {
// ...
});