Since I do not want escape the problem I would like to choose the second. My question is: How can I use ANY_VALUE() in CakePHP3 query builder? Could you please show me an example?
What I tried so far:
$categories = $this->find()
->select([‘category_link’])
->any_value([‘category_name’])
->group(‘category_link’);*/