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

fix: statistics for history #90

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Conversation

Chris53897
Copy link
Contributor

#84 does not work under postgres.

I guess the reason the GroupBy was added in the first place, is because of the order-Clause.
If the Sepecifiation is ordered, Postgres demands a GroupBy clause and raises an error.

The order-clause is not relevant for the aggregated data. As long as there is no Limit specified.

@bobvandevijver Could you please test this change with MySQL?

@bobvandevijver
Copy link
Contributor

Seems to work fine with MySQL and MariaDB 👍🏻

Copy link
Member

@kbond kbond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Chris.

@kbond kbond merged commit e966363 into zenstruck:1.x Jul 24, 2024
8 of 10 checks passed
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.

4 participants