NSFetchRequest
NSFetchRequest
- Subject: NSFetchRequest
- From: chaitanya pandit <email@hidden>
- Date: Fri, 19 Sep 2008 22:22:46 +0530
Hi, List,
I have a core data model with 4 entities (viz. Person,Company,Bank and
Address) each entity has an attribute "ID" which is of kind NSString.
Now, what i want to do is i already have an "ID" and i want to find a
managedObject with matching ID.
What i do right now is i create an NSFetchRequest for each entity type
(Person,Bank...) and execute each of them. So i end up executing 4
fetch requests, one for each entity.
Is there any way to create a single NSFetchRequest which will search
for the "ID" in all the entities?
Thanks,
Chaitanya
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden