how to drop the records in mongodb code example Example: delete collection mongodb db.collection.drop()