Querybuilder having with sum combined

后端 未结 0 674
無奈伤痛
無奈伤痛 2020-11-28 04:15

Code:

$queryBuilder->groupBy(\'o.id\')
             ->having(sprintf(\'SUM(%s.%s IN (:%s)) > 0\', $alias, $field, $valueParameter))
             ->         


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