title: Remove multiple documents from mongo in a single query
body: <p>I have a list of mongo '_id' which I want to delete. Currently I am doing this</p>
  
  <pre><code># inactive_users --&gt;  list of inactive users 
  for item in inactive_users:
      db.users.remove({'_id' : item})
  </code></pre>
  
  <p>but my problem is the list is too huge... (it might go 100,000 +). So querying for every item in list will only increase the load on server. Is their a way to pass the entire list in mongo query so that I dont have to fire query again and again.</p>
  
  <p>Thank you</p>