Laravel update creates a new record

后端 未结 0 1013
攒了一身酷
攒了一身酷 2020-12-06 22:05

AM trying to create a new record with eloquent via

 return Users::where(\'id\', $id)
        ->update([\'names\' => $request->input("name")         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题