Hi Rams,calling entity.relationship.count would fault all objects. Look at http://wiki.objectstyle.org/confluence/display/WOL/Count+To-Many+Objects+without+Loading where you get a more recent code snippet for solving your problem.
jw Am 15.06.2008 um 20:53 schrieb Rams:
Hi everybody,I was wondering if anyone had some "best practices" advice on fetching a count on a to-many relationship. I'm concerned that if I do a simple entity.relationship.count that I'm going to be faulting every EO in the relationship... is that the case? In searching for an answer, I stumbled upon some rather old code here:http://www.wodeveloper.com/omniLists/webobjects-admin/2005/February/msg00000.htmlI am wondering if that code is still relevant. Is there a built in way to do this these days? Or does entity.relationship.count "just work?"Thanks everyone! _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/werner%40isd.uni-stuttgart.de This email sent to [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
