CakePHP 4: How to add count of association results to where conditions

后端 未结 0 496
生来不讨喜
生来不讨喜 2021-01-24 23:57

I\'m trying to add the count results of an association to the where conditions, for example:

$findQuery = $this->Products->find(\'all\');

$findQuery->le         


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