0
我如何能在教義2用做 - >從() - > leftjoin ...學說2左加入
像這樣
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
我不斷收到
Fatal error: Uncaught exception 'Doctrine\ORM\Query\QueryException' with message '[Semantical Error] line 0, col 63 near 'd ORDER BY c.ordine': Error: Identification Variable Entities\Domanda used in join path expression but was not defined before.'