nodejs mongoose delete all code example
Example: remove everything from mongodb databaase mongoose
await Challenge.deleteMany({})
await Own.deleteMany({})
await User.deleteMany({})
await Challenge.deleteMany({})
await Own.deleteMany({})
await User.deleteMany({})