rollback()
Removes everything from the undo stack, discards all insertions and deletions, and restores updated objects to their last committed values.
Declaration
func rollback()Discussion
This method does not refetch data from the persistent store or stores.