I have to dynamically add OR expressions to the query builder returned by getListQueryBuilder, right after adding a where clause. I ca
OR
getListQueryBuilder
where
You can check this solution:
$orX = $builder->expr()->orX(); foreach($ORs as $or) { $orX->add($or); } $builder->andWhere($orX);