Skip to content

Conversation

@halftrainedharry
Copy link

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 3.x branch

@halftrainedharry halftrainedharry changed the title Fix GROUP BY error if sql_mode "ONLY_FULL_GROUP_BY" is used Fix GROUP BY error if sql_mode "ONLY_FULL_GROUP_BY" is used [3.x] Jul 8, 2024
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.

1 participant