Open andrew-svirin opened 4 years ago
Moving, not a DoctrineBundle issue
@andrew-svirin Can you please also show the resulting DQL of this querybuilder?
I can not finish building, because get error $qb->getQuery()->execute();
this line does not reach:
[Syntax Error] line 0, col 85: Error: Expected Doctrine\ORM\Query\Lexer::T_FROM, got 'as'
So i also can not get DQL
@andrew-svirin
You can do $qb->getQuery()->getDQL()
to see the generated DQL and then paste it here.
I am trying to represent not complex query with doctrine and fail. I suspect that Doctrine has small defect.
PgSQL:
Doctrine:
Error is: (it is not informative error, but its point on LOWER(sl.title) as t )