'[Syntax Error] line 0, col 71: Error: Expected end of string, got 'LIMIT''
Oto mój kod:Doctrine LIMIT Błąd składni?
public function getLatestChapters()
{
return $this->_em->createQuery('SELECT c, m FROM models\Chapter c JOIN c.Manga m ORDER BY c.CreateDate LIMIT 10')->getResult();
}
Co może posibly problemu dla tego? Jak korzystać z LIMIT w Doctrine?
Używam Doctrine 2