Details
Description
Using the QueryBuilder, I'm getting the message
Notice: Undefined index: distance in vendor\doctrine\lib\Doctrine\ORM\Query\SqlWalker.php line 2128
when trying to add a "having" clause for the field "distance", which is defined in the "select" part of the statement:
$queryBuilder
->select('myEntity, MY_FUNCTION() AS distance')
->having('distance <= 10')
;
Christian, I couldn't reproduce.
Can you give more details ?
Thanks.