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

后端 未结 0 1683
感动是毒
感动是毒 2021-02-11 18:34

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

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