I'm using RoboMongo to delete a number of documents that match a query. However, it is saying no documents have been delete with the following:
db.getCollection('assets').remove( { "source": "red" } );
However, this works perfectly:
db.getCollection('assets').find( { "source": "red" } );
and displays all the records with the source "red".
Is there any reason why the records are not being removed and robomongo is just outputting 0?
Kind Regards,
You can try this one: