79815326

Date: 2025-11-10 08:13:09
Score: 1
Natty:
Report link
$query
    ->groupBy('c.id')
    ->having('COUNT(DISTINCT f.feature_id) = :featuresCount')
    ->andHaving('SUM(CASE WHEN f.feature_id IN (:features) THEN 1 ELSE 0 END) = :featuresCount')
    ->setParameter('featuresCount', count($features), ParameterType::INTEGER);
;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anton Totsky