laravel model dont exists id

Solutions on MaxInterview for laravel model dont exists id by the best coders in the world

showing results for - "laravel model dont exists id"
Marwan
07 Mar 2017
1if (DB::table('orders')->where('finalized', 1)->doesntExist()) {
2    // ...
3}