我收到此错误:
调用成员函数where()对整数
当我运行此代码时:
DB::table('level_one_models')
->increment('followers', 1)
->where('active', '=', 1);
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?
致电where之前increment:
DB::table('level_one_models')
->where('active', 1)
->increment('followers', 1);
Run Code Online (Sandbox Code Playgroud)