Limiting NSFetchRequest to Specific Relationship?
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. :)
|
_______________________________________________
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