• 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
Fetch and sort based on a given list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fetch and sort based on a given list


  • Subject: Fetch and sort based on a given list
  • From: Ted Archibald <email@hidden>
  • Date: Sun, 11 Mar 2012 17:26:24 -0600

Is there an easy way to fetch and sort an EO given an array of keys. 

The qualifier is obvious, but I don't see anything obvious on how to order the fetch based on the given list.

NSArray<String> keys = ATLArrayUtilities.toNSArray((String)context().request().formValueForKey("keys"), ",");

NSArray<EO> eos = Eo.fetchEos(ec, Eo.KEY.in(keys), null);

 _______________________________________________
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: Fetch and sort based on a given list
      • From: Ted Archibald <email@hidden>
  • Prev by Date: Re: WOCommunity Apple Developer Account
  • Next by Date: Re: Fetch and sort based on a given list
  • Previous by thread: Re: New WO Website
  • Next by thread: Re: Fetch and sort based on a given list
  • Index(es):
    • Date
    • Thread