Re: creating my EOQualifier in code
Re: creating my EOQualifier in code
- Subject: Re: creating my EOQualifier in code
- From: David Elliott <email@hidden>
- Date: Sun, 24 Feb 2008 02:28:21 -0500
Theodore,
Try the "caseInsensitiveLike" selector instead of the "like" selector.
-Dave
On Feb 24, 2008, at 1:07 AM, Theodore Petrosky wrote:
I don't get this.. I am following the example in the
Marker book (pg 230).
EOQualifier newQual =
EOQualifier.qualifierWithQualifierFormat("(client like
%@) AND (isComplete = 0)", arg1);
EOFetchSpecification fs = new EOFetchSpecification
("AsAdSched", newQual, null);
This is working fine... I get the resultant data I
expect... I am trying to figure out the 'like' and
escape for pattern matching...
what i want in the SQL is:
select * from adlist where lower(client) like
lower('s%')
it will not matter whether you type upper nor lower
case....
Ted
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
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