• 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
Limiting NSFetchRequest to Specific Relationship?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Limiting NSFetchRequest to Specific Relationship?


  • Subject: Limiting NSFetchRequest to Specific Relationship?
  • From: Colin Cornaby <email@hidden>
  • Date: Wed, 22 Jun 2005 14:00:10 -0700

I want to change the scope of my NSFetchRequest to only search a certain relationship. Specifically, I have a one to many relationship to a parent entity type. This parent type has multiple child entities. I want to specifically only fetch a specific type of child entity.

Maybe now that I think about this, is this even going to work the way I've been thinking at will? Can I simply make a relationship for a bunch of mixed child entities by just establishing a relationship with the parent entity? Or will that relationship only be valid for types of the parent entity? The goal was to have one one-to-many relationship for all of the child entity types, but now that I think about it, is that technically possible? Am I going to have to set up a relationship to each child entity of the parent entity?

I know maybe this is a bit hard to understand in words. I can provide the data modal on demand. :)

---------------------------

Colin Cornaby - http://gomac.blogspot.com/

Carpe Stellarem - Lead Programmer, ProToys - http://carpestellarem.com

Macintosh Specialist - University of Portland - htttp://up.edu


 _______________________________________________
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

  • Prev by Date: Re: Relying on shell tools to be installed? Where do you find this out?
  • Next by Date: Re: NSTreeController - please help, can't see the forest for the tree controller
  • Previous by thread: Re: How do I find my Application's directory?
  • Next by thread: Problem overriding newObject in NSTreeController
  • Index(es):
    • Date
    • Thread