Skip to content
New issue

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

bulkWrite with a DeleteOneModel yields a modified count of 1 #360

Open
crnflke opened this issue Oct 17, 2018 · 0 comments
Open

bulkWrite with a DeleteOneModel yields a modified count of 1 #360

crnflke opened this issue Oct 17, 2018 · 0 comments

Comments

@crnflke
Copy link

crnflke commented Oct 17, 2018

If I issue a bulkWrite with a DeleteOneModel then I get a modified count of 1 and a deleted count of 1 - if I do this on the Mongo driver, I see a modified count of 0.

I can't see an obvious way of triggering behaviour like this on the Mongo driver so I believe this is a bug in Fongo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant