• 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 [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOSortOrdering and keypaths [SOLVED]


  • Subject: Re: EOSortOrdering and keypaths [SOLVED]
  • From: Travis Britt <email@hidden>
  • Date: Sun, 20 Jun 2010 22:29:24 -0400

Or Booking.PERFORMANCE.dot(Performance.PERFORMANCE_TYPE).dot(PerformanceType.NAME).key()

tb

On Jun 20, 2010, at 12:47 PM, Andrew R. Kinnie wrote:

> Wow, you guys didn't even give me time to heat up some nachos for lunch.  I figured it was blindingly obvious, and I figured that would be the key path, my problem seems to have been that I was creating this in a static method on my Booking class for its default sort ordering . . . and I was confusing myself.  So now I have Booking.PERFORMANCE_KEY + "." + Performance.PERFORMANCE_TYPE_KEY + "." + PerformanceType.NAME_KEY
>
> Though really, hardcoding it as performance.performancType.name seems MUCH clearer.  :-/
>
> Seems to work now now that I know that this was as easy as I thought it should be.  Thanks for the help!
>
> On Jun 20, 2010, at 12:31 PM, Chuck Hill wrote:
>
>>
>> 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
>>
>
> On Jun 20, 2010, at 12:38 PM, Luke Holton wrote:
>
>> If you are performing the fetch on the Bookings entity, providing the EOSortOrdering with the keys path "performance.performanceType.name" should do the trick. Have you tried that?
>>
>> Regards,
>>
>> Luke Holton
>> Tel: 602-279-4600 ext 622
>> Fax: 602-279-4768
>> Desert Sky Software: www.desertsky.com
>>
>> Specializing in the design, development and hosting of database driven web applications.
>
> _______________________________________________
> 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

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

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