I'm very new to MongoDB and MongoDB Compass.
I have some 1000 records in a customer collection. How I can delete all the records at once through MongoDB compass.
Many Thanks,
You can use Embedded Shell provided by the MongoDB compass. Its in beta mode right now. I am using compass version 1.23.0
To delete multiple records, you can use db.<collectionname>.deleteMany
https://docs.mongodb.com/manual/reference/method/db.collection.deleteMany/