php check if update query successful in laravel code example
Example: check if delete query was successful laravel
try {
DB::table('user_')->where('column',$something)->delete();
$queryStatus = "Successful";
} catch(Exception $e) {
$queryStatus = "Not success";
}