• 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: Creating a LIKE Fetch Specification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a LIKE Fetch Specification


  • Subject: Re: Creating a LIKE Fetch Specification
  • From: John Bruce <email@hidden>
  • Date: Tue, 9 Aug 2005 18:42:36 +1000

when you pass in your $lastname variable to the fetch specification
you can pass in the value you want to search for + '*' - i.e. pass in
'Shr*' to get lastnames starting with 'Shr' or '*ler' for names ending
in 'ler' or '*ref*' for lastnames containing 'ref'. You can also use
'caseInsensitiveLike' as well.

Cheers,

John

On 8/9/05, Colin Shreffler <email@hidden> wrote:
>  I can't quite figure out the syntax to use to create a LIKE qualifier in
> EOModeler's Fetch Specification Builder.
>
>  I need something to the affect:
>
>  (lastName like $lastName)
>
>  But I want to have a wildcard at the end of the variable to mimic the
> query:
>
>  Select * from customer_contact where lastName LIKE '$lastName%'
>
>  Can anyone help?
>
>  -c
>
>
>  _______________________________________________
> 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

References: 
 >Creating a LIKE Fetch Specification (From: Colin Shreffler <email@hidden>)

  • Prev by Date: Creating a LIKE Fetch Specification
  • Next by Date: RE: ConnectorJ and MySQL4.1
  • Previous by thread: Creating a LIKE Fetch Specification
  • Next by thread: Plural name for entity
  • Index(es):
    • Date
    • Thread