Skip to content

Improve arrayFilters auto-rollback behavior #24

@pp0rtal

Description

@pp0rtal

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

Todo

Find a more magic default behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions