Re: Is there a better way to delete all objects in a MOC & persistent store?
Re: Is there a better way to delete all objects in a MOC & persistent store?
- Subject: Re: Is there a better way to delete all objects in a MOC & persistent store?
- From: Mike Abdullah <email@hidden>
- Date: Sat, 1 May 2010 00:56:43 +0100
This has come up many times in the archives. Yes, you must do a fetch and delete each object in turn.
On 1 May 2010, at 00:18, Michael A. Crawford wrote:
> Or, am I forced to iterate through the results of a fetch calling deleteObject for each object found?
>
> -Michael
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden