jeudi 30 novembre 2017

how can delete record using db class with softdelete ? can we do?

I Want to delete record using db class but not delete physically delete. I want to softdelete using db class. Is it Possible? My Code is $items =DB::table('forum')->where('forum_id', '=', $forum_id)->softDeletes();



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2nkjfJA
via IFTTT

Aucun commentaire:

Enregistrer un commentaire