Friday, March 17, 2017

Updating Multiple Records using Eloquent (Laravel 5.4)

I have the following query that is working but I'm wondering what the Eloquent ORM equivalent would be?

       DB::table('exercises')->whereIn('id', $ids)->update($request->all());

Thanks



via Alex

Advertisement