-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
We have added arrayFilters support
Issue
There is a conflict when we want to $unset a positional property, and $set some static others
MongoBulkWriteError: Updating the path 'keys.$[element].subKey2.$[element2].elt2' would create a conflict at 'keys'
Hugo gave more details here #22 (comment) with the rollback queries involved.
Workaround for users
- To bypass this issue we omit to backup if we just want to unset a newly added value
projectionBackupFilter: [], // TODO make this unnecessary https://github.com/360Learning/mongo-bulk-data-migration/issues/24 - Or we can in worst case do a custom rollback query and $set back an entire value 8f508a3
Todo
Find a more magic default behavior
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels