destroy()operations are used in CloudCode.
execute()function can throw an Error, typically in these scenarios:
batch.execute()again. Any objects that have been confirmed as saved (e.g. the first part of a large batch) will not be saved again. Duplicate objects will not be created, since the IDs for new objects are generated by the task, not by the backend.