We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when i try to remove a document with model.remove, the document is removed. but the result result is wrong: { "n": 1, "ok": 1 }
but not { "n": 1, "ok": 1, "deleteCount":1 }
The text was updated successfully, but these errors were encountered:
What version of MongoDB and mongoose?
Sorry, something went wrong.
@vkarpov15 MongoDB shell version v3.4.10 "mongoose": "^5.4.19",
test(query): repro #7629
d101c68
76d8ca5
No branches or pull requests
when i try to remove a document with model.remove, the document is removed.
but the result result is wrong:
{
"n": 1,
"ok": 1
}
but not
{
"n": 1,
"ok": 1,
"deleteCount":1
}
The text was updated successfully, but these errors were encountered: