laravel eloquent select created from to 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']);