• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can someone explain how this ERXKey works?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Can someone explain how this ERXKey works?
      • From: Farrukh Ijaz <email@hidden>
  • Prev by Date: How do I get the ERFileAttachment webPath in ERRest?
  • Next by Date: Re: Can someone explain how this ERXKey works?
  • Previous by thread: How do I get the ERFileAttachment webPath in ERRest?
  • Next by thread: Re: Can someone explain how this ERXKey works?
  • Index(es):
    • Date
    • Thread