Skip to content

DDC-722: EntityRepository::find(One?)By should also support Associations #5235

doctrinebot opened this Issue Jul 28, 2010 · 2 comments

2 participants


Jira issue originally created by user @guilhermeblanco:

We should allow EntityRepository to also support associations fetching (when fetched Entity is the owning side).

$employee = $em->getRepository('Employee')->findByEmployer($em->getReference('Employer', $id));

Comment created by @guilhermeblanco:

Already implemented.


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-RC1 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.