I\'m using the PHP Doctrine ORM to build my queries. However, I can\'t quite seem to figure how to write the following WHERE clause using DQL (Doctrine Query Language):
$q->andWhere("category1 IN ( $subcategory_in_clause ) OR category2 IN ( $subcategory_in_clause ) OR category3 IN ( $subcategory_in_clause )");
would you be so kind to try this variant, not sure if it works, but worth a shot