Skip to content

Conversation

@EdaCZ
Copy link
Contributor

@EdaCZ EdaCZ commented Nov 4, 2016

In one use case I need to reset select columns from SqlBuilder.

It's because when I get selection in my service I want to add some columns for grouping. But there are already set columns for select, so database don't allow to run this query - I get error Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column.

With this method I would simply reset select columns and It would be ok.

@dg dg force-pushed the master branch 2 times, most recently from b74e9fb to b2e321a Compare December 3, 2016 18:55
@dg dg force-pushed the master branch 4 times, most recently from e249c62 to d56890f Compare January 4, 2017 14:15
@dg dg force-pushed the master branch 4 times, most recently from e95a595 to 0b4d2e5 Compare January 15, 2017 07:08
@dg dg force-pushed the master branch 18 times, most recently from d516a34 to daa14df Compare January 29, 2017 21:40
@dg dg force-pushed the master branch 7 times, most recently from f1a9aa2 to ec7a207 Compare July 26, 2017 21:39
@dg dg force-pushed the master branch 14 times, most recently from 1ea2fe2 to f4d7fc0 Compare March 23, 2018 16:52
@EdaCZ
Copy link
Contributor Author

EdaCZ commented Sep 29, 2018

@dg Hi, is there any problem with this PR?

@dg dg changed the base branch from master to v2.4 September 30, 2018 15:52
@dg
Copy link
Member

dg commented Sep 30, 2018

No problem, merged.

@dg dg merged commit c205f9c into nette:v2.4 Sep 30, 2018
dg pushed a commit that referenced this pull request Sep 30, 2018
@EdaCZ
Copy link
Contributor Author

EdaCZ commented Sep 30, 2018

@dg Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants