Hi,
I cannot fetch entities with a condition IN for multi-enum field.
my code is as follows:
I cannot fetch entities with a condition IN for multi-enum field.
my code is as follows:
PHP Code:
$products = $this->getEntityManager()->getRepository('Product')->where(array(
'productType=' => array($productType),
'categoryName' => $categoryName
))->find();
Comment