Answers for "laravel update single field"

PHP
0

laravel update single field

User::where('id', '=', $id)->update(['name' => $request->name]);
Posted by: Guest on July-12-2021

Browse Popular Code Answers by Language