In the MongoDB console how can I remove a record by id? Here\'s my collection :
[ { \"_id\" : { \"$oid\" : \"4d512b45cc9374271b02ec4f\" }, \"nam
Even though this post is outdated, collection.remove is deprecated! collection.delete_one should be used instead!
collection.delete_one
More information can be found here under #remove