0
我有我的Doctrine 2查詢問題。Symfony2語義錯誤
$this->qb->select('COUNT(offersCountsssssssssss.id) as offerCount')
->from('FactoryMainBundle:Offers', 'offersCountssssssssss');
$result = $this->qb->getQuery()->getResult();
我得到錯誤
[Semantical Error] line 0, col 133 near 'offersCounts': Error: 'offersCountsssssssssss' is already defined.
我改變了別名很奇怪的字符串,但錯誤是一樣的。 是什麼原因?