delete without find in mongoose code example
Example 1: remove everything from mongodb databaase mongoose
await Challenge.deleteMany({})
await Own.deleteMany({})
await User.deleteMany({})
Example 2: delete document mongose
Model.deleteOne({ options }, function (err) {});