mongodb command line delete record from variable code example
Example 1: mongo delete all documents
db.bios.remove( { } )
Example 2: delete collection mongodb
db.collection.drop()
db.bios.remove( { } )
db.collection.drop()