Google News
logo
Laravel - Interview Questions
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.
Advertisement