Re: Core Data: Need help with fetch request
Re: Core Data: Need help with fetch request
- Subject: Re: Core Data: Need help with fetch request
- From: Jakob Olesen <email@hidden>
- Date: Sat, 14 Oct 2006 17:17:06 +0200
On 10/10/2006, at 21.27, Diederik Hoogenboom wrote:
I want to fetch some objects based on a condition existing in one
of its relationships.
Example Object Model:
Car -> Wheel
A car can have one or more wheels. And a wheel has a property
called color (to keep it simple an NSString). The relationship is
called wheels. There is no inverse relationship.
What is your really, really good reason for not having an inverse
relationship?
Is it one-to-many or many-to-many?
Unfortunately the fetch request does result in any objects retrieved.
I am using an SQL-lite store for this example.
What does the generated SQL look like?
Does it change if you add an inverse relationship?
_______________________________________________
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