method not exist:think\db\Query->onlyTrashed
method not exist:think\db\Query->onlyTrashed就是想用多对多关联查回收站的数据
$datas = $this->_user->personnels()->onlyTrashed()->page($page,$rows)->select();
$total = $this->_user->personnels()->onlyTrashed()->Count();报错:
method not exist:think\db\Query->onlyTrashed请问怎么解决