如何在Doctrine 2中使用――> from(),->leftjoin......
类似情况
select c.* from category left join domande as d on d.category_id = c.id left join age as a on d.age_id = a where a.age > 30 and a.id is not null
i 保持
Fatal error: Uncaught exception DoctrineORMQueryQueryException with message [Semantical Error] line 0, col 63 near d ORDER BY c.ordine : Error: Identification Variable EntitiesDomanda used in join path expression but was not defined before.