laravel 用字段为空时进行比较出现Laravel Illegal operator and value combination

不能在表字段上执行空比较。在where中需要确保字段值不为null

原文地址:https://www.cnblogs.com/caibaotimes/p/13923497.html