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

[8.x] Fix withAggregate issue caused by limit 1 for aggregation functions #35063

Merged
merged 1 commit into from
Nov 2, 2020
Merged

[8.x] Fix withAggregate issue caused by limit 1 for aggregation functions #35063

merged 1 commit into from
Nov 2, 2020

Conversation

khalilst
Copy link
Contributor

@khalilst khalilst commented Nov 2, 2020

This PR fixes the issue mentioned here #35059.
It removed the limit 1 for functions and used it only for null function (the third argument) to prevent returning multiple rows by sub-query.

@khalilst khalilst changed the title Fix withAggregate issue caused by limit 1 for aggregation functions [8.x] Fix withAggregate issue caused by limit 1 for aggregation functions Nov 2, 2020
@taylorotwell taylorotwell merged commit 372ef63 into laravel:8.x Nov 2, 2020
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.

2 participants