@count() in ERRest?
@count() in ERRest?
- Subject: @count() in ERRest?
- From: Jesse Tayler <email@hidden>
- Date: Tue, 08 Mar 2011 19:43:15 -0500
I have a few relationships where I need to report the count, e.g. # of personal connections or # of posts etc.
Shouldn't I be able to include the count of a relationship in the show filter like this?
filter.include(Question.MTLIES.count());
Seems to want to perform count() on each element and not report the relationship's count?
Or is it best to store the count as an integer that gets updated when the relationship changes?
_______________________________________________
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