Details
Description
Example:
$expr = $qb->expr();
$qb->select($expr->count('e.id'));
Result:
InvalidArgumentException: Expression of type 'Doctrine\ORM\Query\Expr\Func' not allowed in this context.
Example:
$expr = $qb->expr();
$qb->select($expr->count('e.id'));
Result:
InvalidArgumentException: Expression of type 'Doctrine\ORM\Query\Expr\Func' not allowed in this context.