• 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: EOQualifier from object array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOQualifier from object array


  • Subject: Re: EOQualifier from object array
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 13 Jul 2011 15:59:49 -0500

On 2011-07-13, at 3:19 PM, Steve Peery wrote:

> Does anybody talk code on this list anymore ;-)

No, but there might be a committee for that.  :-P


> I have an array of EO objects and I want to fetch an array with all EO objects that are not in the array.
> If I were using SQL, it would look something like this:
>
> SELECT oid FROM MyEOObject WHERE oid != 1 AND oid != 3 AND oid != 5;
>
> I can do it using EOQualifier.qualifierWithQualifierFormat and a format string or I can fetch them all and make the array by comparing them. Is there a better way?


Using Wonder, right?  Right?

See the classes in package er.extensions.eof.qualifiers.  Specifically ERXInQualifier, ERXPrimaryKeyListQualifier, and ERXQualifierInSubquery.  Along with the standard EONotQualifier.

Chuck


--
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







 _______________________________________________
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

References: 
 >EOQualifier from object array (From: Steve Peery <email@hidden>)

  • Prev by Date: EOQualifier from object array
  • Next by Date: Re: "You backtracked too far" error after closing AjaxModalDialog and clicking on a link on the page
  • Previous by thread: EOQualifier from object array
  • Next by thread: Occasional hang loading a particular large page
  • Index(es):
    • Date
    • Thread