how to create query in query laravel 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));