I\'m trying to use the Doctrine QueryBuilder to perform the following SQL query:
DELETE php FROM product_hole_pattern php INNER JOIN hole_pattern hp ON php.h
On Symfony2 please try:
foreach ($results as $result) { $em->remove($result); } $em->flush();
Thats all.