• 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: NSPredicate help for core data fetch request
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPredicate help for core data fetch request


  • Subject: Re: NSPredicate help for core data fetch request
  • From: Aurélien Hugelé <email@hidden>
  • Date: Fri, 9 Dec 2005 12:27:44 +0100

Just a little syntax mistake fix...

On 9 déc. 05, at 12:16, Aurélien Hugelé wrote:

Hi list !

i have some Email entities with recipients (as a Recipient entity)
an Email has a to many relationship to Recipient
a Recipient has an address attribute

i would like to be able to fetch all emails, where *any* of their recipients address is in a given list.

fetch request entity is Email.
something like "ANY emails.recipients.address IN % @",someAddressesArray.

something like "ANY recipients.address IN %@",someAddressesArray. would be better :)


this does not work because it *seems* impossible to use a ANY { list } IN { anotherList }
is there something like ANY *OF* { list } IN { anotherList } ?

thanks for your help :)

Aurelien
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gumitech.com

This email sent to email@hidden


_______________________________________________
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: 
 >NSPredicate help for core data fetch request (From: Aurélien Hugelé <email@hidden>)

  • Prev by Date: NSPredicate help for core data fetch request
  • Next by Date: adding an executable as a resource
  • Previous by thread: NSPredicate help for core data fetch request
  • Next by thread: adding an executable as a resource
  • Index(es):
    • Date
    • Thread