SomeModel::select(..)->whereNotIn('book_price', [100,200])->get();
Code::where('to_be_used_by_user_id', '<>' , 2)->get()
Code::whereNotIn('to_be_used_by_user_id', [2])->get()
Code::where('to_be_used_by_user_id', 'NOT IN', 2)->get()
$users = User::whereNotIn('id', [1,2,3,4]);