• 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
Core Data "commit changes" -- What does that mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data "commit changes" -- What does that mean?


  • Subject: Core Data "commit changes" -- What does that mean?
  • From: Jerry Krinock <email@hidden>
  • Date: Sat, 11 Jul 2009 14:07:07 -0700

Throughout the NSManagedObjectContext API reference I read about "changes" being "committed", but I can't find any definition of that phrase. Since I understand that Core Data is not a database, I don't want to assume database lingo.

Is "commit changes" synonymous with "send the managed object context a save: message and see it return YES"?

There is also discussion of "commit editing" but that seems to be something different.

Thanks,

Jerry Krinock

Examples:

1. "Through a context you can ... either discard the changes or—again through the context—commit them back to the persistent store. ... You can insert new objects and delete ones you have fetched, and commit these modifications to the persistent store."

2.  "It is assigned a permanent global ID when changes are committed."

_______________________________________________

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: Core Data "commit changes" -- What does that mean?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: [Offtopic] XCode question: Quickly jump to a particular symbol/selector/class ?
  • Next by Date: Re: [Offtopic] XCode question: Quickly jump to a particular symbol/selector/class ?
  • Previous by thread: Re: [Offtopic] XCode question: Quickly jump to a particular symbol/selector/class ?
  • Next by thread: Re: Core Data "commit changes" -- What does that mean?
  • Index(es):
    • Date
    • Thread