how to check if query is successfully inserted laravel

Solutions on MaxInterview for how to check if query is successfully inserted laravel by the best coders in the world

showing results for - "how to check if query is successfully inserted laravel"
Maria
30 Jul 2018
1try {
2        DB::beginTransaction();
3
4        // your code
5
6        DB::commit();
7    }catch (Exception $e) {
8
9        DB::rollback();
10
11        // other actions
12
13    }