Query products with Doctrine ind Akeneo
问题 I like to fetch some products from the Database with a custom command in akeneo. I'm using the ProductRepositoryInterface public function read() { return $this->repository->findBy( [ 'enabled' => true, 'family' => ['projector', 'projector_child', 'projector_parent'], ] ); } And this is the generated query: SELECT t0.id AS id1, t0.is_enabled AS is_enabled2, t0.created AS created3, t0.updated AS updated4, t0.family_id AS family_id5 FROM pim_catalog_product t0 WHERE t0.is_enabled = ? AND t0