• 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
Re: Core Data: Need help with fetch request
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data: Need help with fetch request


  • Subject: Re: Core Data: Need help with fetch request
  • From: Jakob Olesen <email@hidden>
  • Date: Sun, 15 Oct 2006 14:06:38 +0200


On 15/10/2006, at 14.02, Diederik Hoogenboom wrote:

When I designed the model I though I would never have to go the other way (in the example from Wheels to Cars). I can add the relationship and then it would probably work.

You should test this first, your fetching problem may be unrelated to the missing inverse relationship.


Unfortunately, I now have to convert the whole persistent store from the old model to the new model just for one relationship! If I add the relationship the old store will complain that the field is unkown (eventough it's set to 'optional'. Oh well, that's what you get from not following the rules ;-).

The rule is: You should have a really, really good reason for creating a unidirectional relationship, and you need to know what you are doing.



_______________________________________________ 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
References: 
 >Core Data: Need help with fetch request (From: Diederik Hoogenboom <email@hidden>)
 >Re: Core Data: Need help with fetch request (From: Jakob Olesen <email@hidden>)
 >Re: Core Data: Need help with fetch request (From: Diederik Hoogenboom <email@hidden>)

  • Prev by Date: Re: Core Data: Need help with fetch request
  • Next by Date: Drawing outside of drawRect for NSView..
  • Previous by thread: Re: Core Data: Need help with fetch request
  • Next by thread: Re: Core Data: Need help with fetch request
  • Index(es):
    • Date
    • Thread