经常遇到类似这样的问题:
fastadmin Integrity constraint violation: 1052 Column 'status' in where clause is ambiguou
解决方法很简单,需要把关联搜索打开
protected $relationSearch = true;
在控制器里加一句这一个就行了
加在$this-model=null;前后都可以
经常遇到类似这样的问题:
fastadmin Integrity constraint violation: 1052 Column 'status' in where clause is ambiguou
解决方法很简单,需要把关联搜索打开
protected $relationSearch = true;
在控制器里加一句这一个就行了
加在$this-model=null;前后都可以