Re: CoreData deleteAll of kind
Re: CoreData deleteAll of kind
- Subject: Re: CoreData deleteAll of kind
- From: Devraj Mukherjee <email@hidden>
- Date: Tue, 7 Jul 2009 08:37:11 +1000
Thanks all for your feedback. Seems quite inefficient. Wonder if this
is filed as a suggestion to Apple.
On Tue, Jul 7, 2009 at 6:51 AM, Chris Hanson<email@hidden> wrote:
> On Jul 6, 2009, at 2:49 AM, Devraj Mukherjee <email@hidden> wrote:
>
>> I have a suspicious feeling that there has to be a deleteAll message
>> that helps clear entities of a certain kind.
>
> There is no "delete all instances of this entity" method in Core Data. The
> only way to do so is to fetch all instance of the entity and delete them one
> at a time.
>
> -- Chris
>
>
--
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
_______________________________________________
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