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 01:44:43 +0100
This implies that you are fully loading all objects of entity kind
"CachedFeatures" from the persistent store (loading from disk) to
just go an delete them since you are using
executeFetchRequest:error:. You are not utilizing any cache for
this fetch (but you are getting the cache populated). This is
likely unneeded overhead.
Exactly ! And I want to avoid this overhead. I began this thread of
discussion to know if there was a way to tell a persistent store (or
a managed object context) to remove objects without fetching them.
Stepping back ... what are "CachedFeatures" objects ?
It's some data related to my application
Do you even want the data those objects contain in the persistent
store?
Absolutely ! But sometimes I want to reset the persistent store.
Regards,
Pierre Chatelier
_______________________________________________
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