阅读背景:

Laravel 4:“替换”Eloquent而不是“Select”

来源:互联网 

I am trying to use the SQL function replace to replace the ID if it exist in the database (users_id). How can I use it with Eloquent. I tried using the documentation provided in four.laravel.com. But could still not figure it out. Everytime i try to "update" the users information it will create a new record with the same IDI am trying to use the SQL function replace to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: