• 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: How to fetch objects with predicate through model graph
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to fetch objects with predicate through model graph


  • Subject: Re: How to fetch objects with predicate through model graph
  • From: Frédéric Testuz <email@hidden>
  • Date: Mon, 8 Aug 2005 20:57:32 +0200


Le 8 août 05 à 19:35, mmalcolm crawford a écrit :


On Aug 8, 2005, at 10:07 AM, Frédéric Testuz wrote:


Now I want to obtain the books with an author name. I tried :
any roles.author.fullName contains $value
but it don't work.


<http://www.cocoabuilder.com/archive/message/cocoa/2005/8/1/143327>

"For some reason I don't think CONTAINS works, use BEGINSWITH, LIKE, MATCHES..."

Thanks. I try:
ANY roles.author.fullName LIKE[c] $value --> doesn't work (same with MATCHES, but I'm not sure how to use it)


With
ANY roles.author.fullName BEGINSWITH[c] $value --> it works.

It's not perfect, but it's a beginning.

Frédéric Testuz _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to fetch objects with predicate through model graph (From: Frédéric Testuz <email@hidden>)
 >Re: How to fetch objects with predicate through model graph (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Cocoa/XCode question
  • Next by Date: refreshObject:mergeChanges: vs. stale transient properties
  • Previous by thread: Re: How to fetch objects with predicate through model graph
  • Next by thread: Setting the color of NSCells within a NSMatrix
  • Index(es):
    • Date
    • Thread