I find that when I run the remove() command on mongodb-native for node.js, the document is removed but it's _id remains. So after performing a bunch of deletes I'm stuck with these empty objects with only an _id.
This is odd considering if I call remove() with no arguments, it cleans out the entire collection with no trace.
There must be a way to completely remove a document.
UPDATE
I've been asked to clarify. Say I have a single document in my collection. It has a name and a value as well as the built in _id that mongo adds on insert. I call collection.remove( { name:name } )
and after it completes theres still a document in my collection with that old document's _id and nothing else.