DB::getPdo()->lastInsertId(); $id = DB::table('users')->insertGetId( ['email' => 'john@example.com', 'votes' => 0] );
Comments 0