Grouping and aggregating EOs like GROUP BY
Grouping and aggregating EOs like GROUP BY
- Subject: Grouping and aggregating EOs like GROUP BY
- From: "John Huss" <email@hidden>
- Date: Wed, 12 Apr 2006 17:09:40 -0500
What is the best way to group and aggregate an array of EOs,
essentially accomplishing the same thing as an SQL "group by" clause.
I already see that using raw sql is usually not the "best" way. If
not raw sql, then how is this accomplished?
I've used ERXArrayUtilities.arrayGroupedByKeyPath before, but now I
need to group with multiple fields. Is there some existing
functionality that provides something like this?
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden