doctrine findby relation
- by iggnition
I'm having trouble selecting a subset of data with doctrine.
I have 3 tables
Location
Contact
Contact_location
The contact and location tables hold a name and an id the other table holds only ID's. For instance:
Location
loc_id: 1
name: detroit
Contact
contact_id: 1
name: Mike
Contact_location
loc_id: 1
contact_id: 1
In doctrine there…