Mysql
 SQL >> Datenbank >  >> RDS >> Mysql

Symfony 2: INNER JOIN auf nicht verknüpfte Tabelle mit Doctrine

Über den Doctrine Query Builder können auch Klassen aus Inheritance Mappings verbunden werden:

->leftJoin('MyBundleName:ChildOne', 'co', 'WITH', 'co.id = c.id')
->leftJoin('MyBundleName:ChildTwo', 'ct', 'WITH', 'ct.id = c.id')