DDC-613: QueryBuilder doesn't permit any functions in select() #5121

Closed
doctrinebot opened this Issue May 25, 2010 · 1 comment

2 participants

@doctrinebot

Jira issue originally created by user @hobodave:

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.

@doctrinebot

Issue was closed with resolution "Fixed"

@jwage jwage was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0-BETA3 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment