Differentiate between delete() and softDeletes()

Posted by Andre Scott | Updated on

Following is the 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.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers