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

Docs: add example of using diffIndexes() in syncIndexes() docs #13771

Closed
2 tasks done
vkarpov15 opened this issue Aug 23, 2023 · 0 comments · Fixed by #13850
Closed
2 tasks done

Docs: add example of using diffIndexes() in syncIndexes() docs #13771

vkarpov15 opened this issue Aug 23, 2023 · 0 comments · Fixed by #13850
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Milestone

Comments

@vkarpov15
Copy link
Collaborator

Prerequisites

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

Issue

Re: #12250 discussion. Would be great to highlight diffIndexes() in the syncIndexes() docs as a way to confirm what indexes will be dropped and what indexes will be added before actually running syncIndexes(). To reduce risk of unintentional index changes.

@vkarpov15 vkarpov15 added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Aug 23, 2023
@vkarpov15 vkarpov15 modified the milestones: 7.4.5, 7.5.1, 7.5.2 Aug 23, 2023
vkarpov15 added a commit that referenced this issue Sep 10, 2023
vkarpov15 added a commit that referenced this issue Sep 12, 2023
docs(model): add examples of using `diffIndexes()` to `syncIndexes()`and `diffIndexes()` api docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Projects
None yet
1 participant