Quantcast
Channel: Retrieve related objects with Doctrine and Symfony - Stack Overflow
Browsing index pages (2 articles)

Retrieve related objects with Doctrine and Symfony

I searched for a long time, but I don't manage to retrieve two related object in one query. I am using Doctrine and Symfony (uses Doctrine by default).Here is a part of my schema.yml:Member: columns:...

View Article


Answer by DuoSRX for Retrieve related objects with Doctrine and Symfony

$q = Doctrine_Query::create()->from('Report sr')->innerJoin('sr.Members m');That's it, quite simple :)

View Article

Browsing index pages (2 articles)


Latest Images