/** * The attributes that are mass assignable. */ protected $fillable = [ 'title', 'slug', 'body', 'image', 'published', 'comments_open' ];
Model::where(['x' => 1, 'y' => 2])->first()->update([...]);