Laravel 版本 5.5,模型事件问题
比如使用 User::where('gender', 1)->increment('balance', 1);
更新数据时,模型事件是不触发的,在不更改上述代码的前提下,是否有办法知道数据有变更?
推荐文章: