group laravel DB statement for connection 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));