Eloquent query order by problem: always return SQLSTATE[23000]: Integrity constraint violation: 1052

后端 未结 0 1304
闹比i
闹比i 2020-12-15 01:25

I write down this scope in voyager

        return Auth::user()->hasRole(\'user\') ? $query
                              ->where(\'employees.client_id\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题