Skip to content
Sumit Patil edited this page Jun 18, 2015 · 1 revision

To delete a record

$user = User::find(1);
$user->delete();

OR

User::destroy(1);

Note : The value passed in destroy method should be primary key of table.

Clone this wiki locally