As explained here, db.bios.remove() deletes all the documents from the bios collection of currently connected DB. What is the equivalent method for this functionality in MongoDB Java API?
I did not find any methods like DB.removeCollection(..) or DBCollection.removeAll(). Please help me.
DBCollection.remove(DBObject)method, but I dont know how to use it to remove all