Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel force delete

Product::onlyTrashed()->where('deleted_at', '<', Carbon::subDays(30))->forceDelete();
Source by shouts.dev #
 
PREVIOUS NEXT
Tagged: #laravel #force #delete
ADD COMMENT
Topic
Name
5+8 =