Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel eloquent update multiple records

// in a single line here
$values = Cart::where('session_id', $id)->update(['data'=>$data]);
 
PREVIOUS NEXT
Tagged: #laravel #eloquent #update #multiple #records
ADD COMMENT
Topic
Name
6+3 =