Re: NSPredicate limitation?
Re: NSPredicate limitation?
- Subject: Re: NSPredicate limitation?
- From: Aurélien Hugelé <email@hidden>
- Date: Thu, 22 Dec 2005 09:57:39 +0100
From the documentation :
The Core Data SQL store supports only one to-many operation per
query; therefore in any predicate sent to the SQL store, there may
be only one operator (and one instance of that operator) from ALL,
ANY, and IN.
game over
too bad.
On 22 déc. 05, at 09:23, 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 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:
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