Skip to content

enhance the Database/Builder aggregate function to deal with group by sql. #7372

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

Closed
wants to merge 2 commits into from

Conversation

fcjailybo
Copy link

I enhance the Database/Builder class.
Once we have used orderBy function,$result may have more than one record,and $results[0] is just the first group count,so we need to get the count of $results's elements.

Once we have used orderBy function,$result may have more than one record, and $results[0] is just the first group count,so we need to get the count of $results's  elements.
@fcjailybo fcjailybo changed the title 4.1 enhance the Database/Builder aggregate function to deal with group by sql. Feb 10, 2015
@fcjailybo fcjailybo closed this Feb 10, 2015
@JoostK
Copy link
Contributor

JoostK commented Feb 10, 2015

This is actually really clever, if it works correctly. Why did you close this?

@fcjailybo fcjailybo deleted the 4.1 branch February 10, 2015 15:41
@GrahamCampbell
Copy link
Member

@fcjailybo This would be good to have merged into 5.1. :)

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.

3 participants