Differentiate between delete() and softDeletes().

  • delete(): remove all record from the database table.
  • softDeletes(): It does not remove the data from the table. It is used to flag any record as deleted.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *