Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

concat function using laravel update query

concat() function using laravel update query

$driver_update = Driver::where('id',$id)->update(['service_ids' => DB::raw('concat(service_ids,",","'.$service_id.'")')]);
Source by localhost #
 
PREVIOUS NEXT
Tagged: #concat #function #laravel #update #query
ADD COMMENT
Topic
Name
7+7 =