Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel update

User::query()->whereId($user->id)
  ->update([
    	'column' => 'value',
    	'n' => 'n',
    ]);
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #update
ADD COMMENT
Topic
Name
2+4 =