laravel update eloquent edit 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']);