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.