What's the syntactically nicest way to bulk update/delete a set of #Laravel Models while still triggering their model observers?

There has to be a better way than this:

Model::query()
->where('field', 'value')
->each(function($model) {
$model>update(['field'='newvalue']);
});

Comments