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

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


  • Prev by Date: Re: fullscreen quicktime across multiple monitors
  • Next by Date: Re: How to hide disclosure triangle in NSOutlineView [10.5]?
  • Previous by thread: NSTextView not always accepting a Favorite style from NSFontPanel
  • Next by thread: Core Data adding new instance - creating relationship to existing instance
  • Index(es):
    • Date
    • Thread