qualifierWithQualifierFormat
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