Re: Constructing Fetch Syntax
Re: Constructing Fetch Syntax
- Subject: Re: Constructing Fetch Syntax
- From: "Arturo Perez" <email@hidden>
- Date: Mon, 11 Oct 2004 13:14:56 -0400
Jeremy Matthews wrote:
If I want to create a link to fetch all records where an attribute's first character is specified, how is the syntax structured?
For example, letters of the alphabet along the top of a search page (quick search by first letter of last name); clicking on the link will return the specific records. Would the fetch be constructed like this:
(lastName caseInsensitiveLike A%)
EOF uses a sh-like syntax, rather than the SQL syntax for wildcarding.
So the above would be
lastName caseInsensitiveLike A*
I think a single-character match is the ? character.
_______________________________________________
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