Open halftrainedharry opened 4 months ago
Changes the SQL query to only include the columns the result is grouped by (plus the 'id' column).
If the SQL-mode "ONLY_FULL_GROUP_BY" is used, the current code throws an error.
Resolves #293 for the 2.x branch. Undoes the change from #281 (as I don't think it fixed the issue successfully).
What does it do?
Changes the SQL query to only include the columns the result is grouped by (plus the 'id' column).
Why is it needed?
If the SQL-mode "ONLY_FULL_GROUP_BY" is used, the current code throws an error.
Related issue(s)/PR(s)
Resolves #293 for the 2.x branch. Undoes the change from #281 (as I don't think it fixed the issue successfully).