CoreData, reset a persistent store
CoreData, reset a persistent store
- Subject: CoreData, reset a persistent store
- From: Pierre Chatelier <email@hidden>
- Date: Tue, 14 Nov 2006 14:43:22 +0100
Hello,
I am wondering how to reset a persistent store used by a single data
model.
-A simple solution would be to fetch all objects and delete them;
this consumes much memory.
-I am not sure that deleting the file under the persistent store is a
good idea.
-the "reset" method of the managed object model is not designed for
that.
Did I miss something ?
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