MongoDB Usuń wszystko z kolekcji
db.collection.remove({})
Weary Wombat
db.collection.remove({})
db.collection.delete_many( { } );
#delete all the items of a given collection
db.campaigns.deleteMany({})
db.bios.remove( { } )
# To remove all documents in a collection, call the remove method with an empty query
# document {}. The following operation deletes all documents from the bios collection:
db.bios.remove( { } )