mongoose-update-if-current icon indicating copy to clipboard operation
mongoose-update-if-current copied to clipboard

[BUG] Does not update version when update using findOneAndUpdate

Open jayamaljayamaha opened this issue 4 years ago • 1 comments

Describe the bug When updating some document using findOneAndUpdate query it does not update the version or __v of that document

To Reproduce try to update a document findOneAndUpdate while using this plugin, and then check the version

jayamaljayamaha avatar Aug 17 '21 17:08 jayamaljayamaha

is this resolved now? I have the same issue.

Using findByIdAndUpdate or findOneAndUpdate does not work.

traxx10 avatar May 12 '22 09:05 traxx10