Re: creating a qualifier in EOModeler with like and a variable
Re: creating a qualifier in EOModeler with like and a variable
- Subject: Re: creating a qualifier in EOModeler with like and a variable
- From: Jeff Martirano <email@hidden>
- Date: Thu, 21 Aug 2003 19:57:24 -0700
Aloha Art
Yeah, I already have it working with preset strings, and variables, but
when I put a variable with a wildcard (title like $partialWord?) or
similar variations in the Qualifier panel in EOModeler it doesn't work.
Your methods also of course work for setting qualifiers
programmatically in a Java class, but I'd like to be able to do it
using EOModeler.
Thanks,
Jeff
On Thursday, Aug 21, 2003, at 18:43 US/Pacific, Art Isbell wrote:
On Thursday, August 21, 2003, at 03:20 PM, Jeff Martirano wrote:
I am creating a fetch spec (with a qualifier) with EOModeler and
trying to figure out how to add % to a variable so that it allows a
variable number of letters after a variable to be searched upon in
the rows.
The "Using Wildcards and the like Operator" section of the
EOQualifier documentation
(http://developer.apple.com/documentation/WebObjects/Reference/API/
com/webobjects/eocontrol/EOQualifier.html) discusses this. But
unfortunately, all occurrences of '*' are missing (JavaDoc bug?). It
should read:
"you can use the wildcard characters * and ?"
"lastName like 'Jo*'"
"the character * is treated as a literal value,"
"lastName = 'Jo*'"
Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.