wherein laravel

110

 DB::table('user')->where('email', $userEmail)->update(array('member_type' => $plan));  
$users = DB::table('users')
                ->whereIn('id', [1, 2, 3])
                ->get();
$users = User::whereIn('id', array(1, 2, 3))->get();

Comments

Submit
0 Comments