laravel where update query

Solutions on MaxInterview for laravel where update query by the best coders in the world

showing results for - "laravel where update query"
Dylan
04 Jan 2017
1DB::table('users')
2        ->where('id', $id)
3        ->update([
4            'status'     => 1
5        ]);