#Model.deleteMany() no longer accepts a callback
10 messages · Page 1 of 1 (latest)
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
refactor your code to use async/await, or use ```ts
deleteMany(...).then((data) => {
// process data
}).catch((err) => {
// handle error
})
I wouldn't bother with him, doesn't know basic js
What kinda comment is that. That’s no reason to just not help someone at all
If it’s a single guild, just findOneAndDelete will work fine
Because he will turn out to be a huge pain in the ass, I speak from experience
Then dont bother contributing.
You have been warned
it's not your place to say this. whether they want to help someone or not is up to them, no matter the experience that the user who's having issues