Re: Using LIKE with PostgreSQL
Re: Using LIKE with PostgreSQL
- Subject: Re: Using LIKE with PostgreSQL
- From: Arturo Perez <email@hidden>
- Date: Wed, 10 Aug 2005 12:32:06 -0400
Colin Shreffler wrote:
Here is my code:
if(searchParam.objectForKey("lastName") != null)
searchParam.takeValueForKey(searchParam.objectForKey("lastName") +
"*", "lastName");
This seems pretty standard. Can you see any flaw in it?
-c
What's your database setup? Postgres Plugin, version etc. Looks like
the escape statement in the SQL is wrong. Did you use
objectMatchingKeyAndValue or some other way to create the SQL?
_______________________________________________
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