• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CoreData deleteAll of kind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData deleteAll of kind


  • Subject: Re: CoreData deleteAll of kind
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 06 Jul 2009 13:51:17 -0700

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

_______________________________________________

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


  • Follow-Ups:
    • Re: CoreData deleteAll of kind
      • From: Devraj Mukherjee <email@hidden>
References: 
 >CoreData deleteAll of kind (From: Devraj Mukherjee <email@hidden>)

  • Prev by Date: Problem with NSDecimalNumber truncating zeros
  • Next by Date: Re: Problem with NSDecimalNumber truncating zeros
  • Previous by thread: Re: CoreData deleteAll of kind
  • Next by thread: Re: CoreData deleteAll of kind
  • Index(es):
    • Date
    • Thread