laravel update clause code example
Example: laravel db::query update
DB::table('user')->where('email', $userEmail)->update(array('member_type' => $plan));
DB::table('user')->where('email', $userEmail)->update(array('member_type' => $plan));