• 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
Re: EOSortOrdering and keypaths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOSortOrdering and keypaths


  • Subject: Re: EOSortOrdering and keypaths
  • From: Chuck Hill <email@hidden>
  • Date: Sun, 20 Jun 2010 09:31:58 -0700

On Jun 20, 2010, at 9:24 AM, Andrew R. Kinnie wrote:

> Greetings:
>
> I am drawing a blank here, and am trying to think of how to create an EOSortOrdering across a key path.
>
> I have an entity Booking which has one date and one Performance.  Performance is an entity which has one PerformanceType.  PerformanceType is an entity which has a name attribute (a String).  I want to sort the results of a fetch by the date and by name of the Performance's Performance type.  The date is pretty obvious, but the Performance type is confusing me.  So how would I create a sort ordering for an array of Bookings to sort based on the key path aBooking.performance.performanceType.name.

performance.performanceType.name



> Any ideas would be appreciated.  This seems like it should be obvious, but I'm drawing a blank.
>
> Andrew

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







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: EOSortOrdering and keypaths [SOLVED]
      • From: "Andrew R. Kinnie" <email@hidden>
References: 
 >EOSortOrdering and keypaths (From: "Andrew R. Kinnie" <email@hidden>)

  • Prev by Date: EOSortOrdering and keypaths
  • Next by Date: Re: EOSortOrdering and keypaths [SOLVED]
  • Previous by thread: EOSortOrdering and keypaths
  • Next by thread: Re: EOSortOrdering and keypaths [SOLVED]
  • Index(es):
    • Date
    • Thread