Skip to content

NetteDBDataSource - group by #57

@spernica

Description

@spernica

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions