MongoDB exclua todos os documentos
db.collection.delete_many( { } );
MzanziLegend
db.collection.delete_many( { } );
db.bios.remove( { } )
>>>db.test.count_documents({})
3
>>> result = db.test.delete_many({})
>>> result.deleted_count
3
>>> db.test.count_documents({})
0