update where laravel orm code example
Example: create or update laravel
DB::table('vendor_managements')->where('vendor_code', $vendor_code)->update(array('state'=> $state_namne));
DB::table('vendor_managements')->where('vendor_code', $vendor_code)->update(array('state'=> $state_namne));