已在VPS中部署了我的laravel应用程序,并将此结果查询ORM混淆了
Company::where('active', 'Yes')->count()
it result 0
当我尝试更改我的ORM
Company::where("active", "Yes")->get()->count();`
it result 8
但是当我的应用程序在本地主机
慕雪6442864
相关分类