Can someone explain how this ERXKey works?
Can someone explain how this ERXKey works?
- Subject: Can someone explain how this ERXKey works?
- From: James Cicenia <email@hidden>
- Date: Tue, 13 Dec 2011 12:37:46 -0600
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden