The base object is a FoodItem and it has a to-one foodFamily relationship.
I was trying to get the foodFamily mainImage (ERAttachment) attributes.

After much trial and error this worked! ???? why?


ERXKeyFilter filter = ERXKeyFilter.filterWithAttributes();
ERXKeyFilter family = filter.include(FoodItem.FOOD_FAMILY);
family.include(FoodFamily.MAIN_IMAGE).includeAttributesAndToOneRelationships();
return filter

How does the family filter affect the returned filter?

Thanks James



Attachment: 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]

Reply via email to