laravel restore deleted

27

Post::withTrashed()->find($post_id)->restore();
// Restore one Record
User::withTrashed()->find($id)->restore();

// Restore Multiple Records
User::onlyTrashed()->restore();

Comments

Submit
0 Comments