Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRFC ORM: Add support to string aggregation #14455
Open
Labels
Milestone
Comments
|
@celsowm Are you interested to make a PR against 4.next branch? |
|
Sorry my ignorance, but what is PR? |
|
Pull Request (some call it merge request). A change as seen in the tab above. |
|
Ah okay, hehe. I can try if you guys give me some tips on which classes I need to add new methods |
|
Working on this, should have a PR in the next day. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi folks !
Well, since Cake 4.1 will adopt window functions, I think the timing would be very good to add a very useful feature adopted by all major SGBDs in the last years:
As you can see, there are two different syntaxes: STRING_AGG and GROUP_CONCAT, this article has a very good comparison.
An usage on Cake ORM would be something like:
This could be very useful to produce a fast and simple query for reports and similars