how to write eloquent query in laravel code example
Example 1: laravel db::query update
DB::table('user')->where('email', $userEmail)->update(array('member_type' => $plan));
Example 2: Laravel query where and
Table::where('Column', Value)->where('NewColumn', Value)->get();