[code]
use Illuminate\Support\Facades\DB;
…
User::whereIn(‘id’, [1,2,3,4,5])->update([‘islock’ => DB::raw(‘not islock’)]);
[/code]
[code]
use Illuminate\Support\Facades\DB;
…
User::whereIn(‘id’, [1,2,3,4,5])->update([‘islock’ => DB::raw(‘not islock’)]);
[/code]