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

Upgrade to Mongoose 7.5 for better $vector support #128

Merged
merged 4 commits into from Sep 5, 2023

Conversation

vkarpov15
Copy link
Collaborator

What this PR does:

We need Mongoose 7.5 in order to be able to update $vector using updateOne(), findOneAndUpdate(), etc. Also fixed an issue where we weren't passing sort option to updateOne().

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@vkarpov15 vkarpov15 requested a review from a team as a code owner August 30, 2023 16:55
@kathirsvn
Copy link
Contributor

@vkarpov15 Could you please share the link to the PR/issue that is part of mongoose 7.5.0 which takes care of updates using $vector?

@kathirsvn kathirsvn merged commit 408bf6d into main Sep 5, 2023
2 checks passed
@kathirsvn kathirsvn deleted the vkarpov15/mongoose-75-fixes branch September 5, 2023 15:34
@vkarpov15
Copy link
Collaborator Author

@kathirsvn
Copy link
Contributor

Thank you @vkarpov15 !

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 this pull request may close these issues.

None yet

2 participants