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

qualifierWithQualifierFormat


  • Subject: qualifierWithQualifierFormat
  • From: Gino Pacitti <email@hidden>
  • Date: Thu, 22 Sep 2005 23:06:04 +0100

Hi All

I have a qualifier statement like this:


qualifier = EOQualifier.qualifierWithQualifierFormat ( "prodDescription like %@", qualifierBindings );



and the qualifierBindings

NSArray qualifierBindings = new NSArray ( new String [] { "*"+"hats"+"*" } );

But this only allows me to search the prodDescription with a single word.

How would I create a statement that would allow me to return objects.

I want to create something like:

prodDescription like 'word' OR prodDescription like 'otherword' OR prodDescription like 'someotherword' etc..

I need to take a string and filter out words like 'at', 'the', 'it' etc and then search for prodDescriptions that contain any of the words remaining.


I hope this is clear...

Any help appreciated!!

Gino
_______________________________________________
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: qualifierWithQualifierFormat
      • From: Chuck Hill <email@hidden>
  • Prev by Date: XHTML generation
  • Next by Date: Re: qualifierWithQualifierFormat
  • Previous by thread: Re: XHTML generation
  • Next by thread: Re: qualifierWithQualifierFormat
  • Index(es):
    • Date
    • Thread