Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetteDBDataSource - group by #57

Open
spernica opened this issue Dec 6, 2016 · 0 comments
Open

NetteDBDataSource - group by #57

spernica opened this issue Dec 6, 2016 · 0 comments

Comments

@spernica
Copy link

spernica commented Dec 6, 2016

When you have in query for NetteDBDataSource GROUP BY, queries looks like this:
SELECT COUNT() FROM table -- missing GROUP BY
SELECT * FROM table GROUP BY column

Right count will be like something this:
SELECT COUNT() FROM (SELECT … FROM table WHERE … GROUP BY column)

I compare NetteDBDataSource and DibiDataSource. DibiDataSource is working fine.

Testing on v2.0.7.2

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

No branches or pull requests

1 participant