Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel eloquent query soft delete

use AppModelsFlight;

$flights = Flight::withTrashed()
                ->where('account_id', 1)
                ->get();
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #Laravel #eloquent #query #soft #delete
ADD COMMENT
Topic
Name
7+9 =