TYPO3 9.5 repository query to fetch elements with multiple sys_categories – Phpmyadmin
I'm trying to figure out how to write the following query to fetch some elements which have multiple categories. $query->matching( $query->logicalAnd( [ // the following 4 lines are the problem lines $query->logicalAnd( $query->in('categories.uid', $categories), $query->in('categories.uid', $countryCategories) ), // $query->in('categories.uid', $categories),…