Laravel 4: how to update multiple fields in an Eloquent model?

后端 未结 0 1242
独厮守ぢ
独厮守ぢ 2021-02-11 18:41

How can I update multiple fields in an Eloquent model? Let\'s say I got it like this:

$user = User::where(\"username\", \"=\", \"rok\");

And th

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