Yeah, that's smooth :)
Hey Drew,
You could create a VIEW that has the primary key of your item and
the avarage of the ratings - if your DB supports VIEWs.
Then just have a new EOEntity (ItemAvarageRating) on that view and
create a 1:1 relationship from item to ItemAvarageRating.
Fetch by sorting and limiting.... done.
atze
I love view-entities :)
_______________________________________________
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]