laravel model modify data code example
Example: update query in laravel eloquent
$data = DB::table('cart')
->where('crt_id', $id)
->update(['crt_status' =>'0']);
$data = DB::table('cart')
->where('crt_id', $id)
->update(['crt_status' =>'0']);