method

destroy

destroy()
public

Deletes the record in the database and freezes this instance to reflect that no changes should be made (since they can’t be persisted).