Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove a "group by" statement from QueryBuildDataSource at runtime

I need to remove a group by statement from a QueybuildDataSource object. Is there any method to do this? (The opposite of addGroupByField).

like image 272
Artem Antonov Avatar asked Nov 15 '11 09:11

Artem Antonov


1 Answers

@Artem, I don't think you can do it from the QBDS level. I think you need to do it from query().clearGroupBy();

@ian_scho, users under 100 reputation can't answer their own questions for 4-8 hours after posting...that's probably why he didn't post as an answer.

like image 187
Alex Kwitny Avatar answered Sep 30 '22 05:09

Alex Kwitny