[object HTMLInputElement]

Posted in CategoryLaravel
  • F
    Franklin 1 year ago

    How to update multiple records in Laravel 5?

     

  • H
    Hardik Savani 1 year ago

    You can update multiple records like this way :

    \DB::table('countries')->whereIn('id', [1, 2])->update(['code' => 'AD']);
    
     

Please login or register to leave a response.

* You May Also Like Bellow Issue to check *