• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Constructing Fetch Syntax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Constructing Fetch Syntax (From: Jeremy Matthews <email@hidden>)

  • Prev by Date: WG: [still newbie] How to redisplay correctly a WODisplayGroup afterdeleting an EO
  • Next by Date: RE: Windows XP Sp2 and http Adaptor
  • Previous by thread: Constructing Fetch Syntax
  • Next by thread: Windows XP Sp2 and http Adaptor
  • Index(es):
    • Date
    • Thread