-
Notifications
You must be signed in to change notification settings - Fork 8
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
Migrations: Implement adapter method copy_value_from_field_to_field_in_each_document
#2259
Comments
Hi @kheal and @brynnz22, I'm planning to implement the adapter method described above. I wanted to know whether you find its signature (i.e. name and parameters) to be intuitive. I plan to implement it as described above unless I hear of any concerns. Note: Separately, I'm planning to implement an adapter method that can be used to delete a field from each document in the collection. Using the above adapter method and this delete one, together, a migrator author will be able to effectively rename a field (which is being done in a different way here). |
Yeah this makes sense to me! And would be very helpful |
This looks great. |
Thanks! I have opened a PR and designated both of you as reviewers. I'm going to jump straight into implementing a second adapter method— |
Adapter method signature:
Mongo query:
The text was updated successfully, but these errors were encountered: