query builder to add model laravel code example Example: laravel delete where DB::table('users')->where('id', $id)->delete();