Using query builder to get a COUNT() on a grouped query, with the grouped column in the SELECT

后端 未结 0 1287
-上瘾入骨i
-上瘾入骨i 2020-12-29 03:53

I\'m trying to do the following:

$qb->select(\'O.place\')
    ->addSelect(\'COUNT(P.id)\')
    ->from(FooBar:         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题