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<c...@me.com> wrote:
> On Jul 6, 2009, at 2:49 AM, Devraj Mukherjee <dev...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to