• 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
NSPredicate limitation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPredicate limitation?


  • Subject: NSPredicate limitation?
  • From: Aurélien Hugelé <email@hidden>
  • Date: Thu, 22 Dec 2005 09:23:09 +0100

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 recipients.address IN %@",someAddressesArray.

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

thanks for your help, I'm a newbie in many things related to database and SQL...

Aurelien

_______________________________________________
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
  • Follow-Ups:
    • Re: NSPredicate limitation?
      • From: Aurélien Hugelé <email@hidden>
  • Prev by Date: Re: Resizing images
  • Next by Date: Re: NSPredicate limitation?
  • Previous by thread: Re: Resizing images
  • Next by thread: Re: NSPredicate limitation?
  • Index(es):
    • Date
    • Thread