Re: CoreData, reset a persistent store
Re: CoreData, reset a persistent store
- Subject: Re: CoreData, reset a persistent store
- From: Pierre Chatelier <email@hidden>
- Date: Thu, 16 Nov 2006 03:03:22 +0100
Not knowing how your data model... I wonder why you are executing a
fetch?
I execute a fetch because I found no other way to delete objects from
a persistent store
Do you have a top level managed object that has a one-to-many
relationship with "CachedFeatures" entity?
No
If you don't have such an object... why don't you? :)
Because my persistent store is a big database. Sometimes I pick up
things in it; but when I want to delete its content, there is no
particular reason that *all* the content has been used in the
program ! So I have no external collection refering all the objects
of my database.
Regards,
Pierre
_______________________________________________
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: | |
| >CoreData, reset a persistent store (From: Pierre Chatelier <email@hidden>) |
| >Re: CoreData, reset a persistent store (From: Pierre Chatelier <email@hidden>) |
| >Re: CoreData, reset a persistent store (From: "Marcus S. Zarra" <email@hidden>) |
| >Re: CoreData, reset a persistent store (From: Pierre Chatelier <email@hidden>) |
| >Re: CoreData, reset a persistent store (From: "I. Savant" <email@hidden>) |
| >Re: CoreData, reset a persistent store (From: Pierre Chatelier <email@hidden>) |
| >Re: CoreData, reset a persistent store (From: Pierre Chatelier <email@hidden>) |
| >Re: Re: CoreData, reset a persistent store (From: "Shawn Erickson" <email@hidden>) |
| >Re: CoreData, reset a persistent store (From: Pierre Chatelier <email@hidden>) |
| >Re: CoreData, reset a persistent store (From: Shawn Erickson <email@hidden>) |