In the MongoDB console how can I remove a record by id? Here\'s my collection :
[ { \"_id\" : { \"$oid\" : \"4d512b45cc9374271b02ec4f\" }, \"nam
If you would like to remove by a list of IDs this works great.
db.CollectionName.remove({ "_id": { $in: [ ObjectId("0930292929292929292929"), ObjectId("0920292929292929292929") ] } })