Ларавел не в запросе
DB::table(..)->select(..)->whereNotIn('book_price', [100,200])->get();
Lokesh003
DB::table(..)->select(..)->whereNotIn('book_price', [100,200])->get();
DB::table('user')->whereIn('id', [100,200])->get();
DB::table('user')->where('email', $userEmail)->update(array('member_type' => $plan));
$users = DB::table('users')
->whereIn('id', [1, 2, 3])
->get();
MyMode::where(['user_id' => 1])
->orWhere(['assigned_to' => 1])
->get();
$users = DB::table('user')->select('id', 'name', 'email','api_token','created_at')->where('email' , $email)->get();
return response()->json($users);