:muscle: DataGrid for Nette Framework: filtering, sorting, pagination, tree view, table view, translator, etc
292
stars
195
forks
source link
Incorrect rows count when using GROUP BY with multiple columns - Nette\Database\Table #991
Open
matoni555 opened 3 years ago
Hi, I found the bug in Nette\Database\Table data source when using GROUP BY with multiple columns.
Here is example of SQL queries. Query for the datagrid with 703 total rows.
Datagrid generated this SQL query from the getCount() function which gets 0 rows.
I think right SQL query with multiple GROUP BY columns should be:
Best regards