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

Old return values in documentation for update and replace queries #12706

Closed
2 tasks done
mete89 opened this issue Nov 19, 2022 · 0 comments · Fixed by #12709
Closed
2 tasks done

Old return values in documentation for update and replace queries #12706

mete89 opened this issue Nov 19, 2022 · 0 comments · Fixed by #12709

Comments

@mete89
Copy link

mete89 commented Nov 19, 2022

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

Update and Replace query examples still shows old UpdateResult return values in 6.7.2 documentation.

https://mongoosejs.com/docs/api/query.html#query_Query-updateOne
They changed in 6.x.x -> https://mongoosejs.com/docs/migrating_to_6.html

@mete89 mete89 changed the title Outdated examples in documentation Old return values in documentation for update and replace queries Nov 19, 2022
lpizzinidev added a commit to lpizzinidev/mongoose that referenced this issue Nov 20, 2022
vkarpov15 added a commit that referenced this issue Nov 21, 2022
docs(query): updated examples for `updateOne` and `replaceOne`
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

Successfully merging a pull request may close this issue.

1 participant