Skip to content

Removal (and I think updating) does not work as expected with multiple criteria #45

@Nysosis

Description

@Nysosis

Similar to #22, if you do a .remove() with multiple criteria, each thing that matches one of the criteria is removed, not everything that matches all the criteria.

Right now I've gotten around it by doing a find with the criteria, looping those and doing a removal via the _id, but it feels like the remove should work the same way as the find.

I mentioned update in the title, because looking at util.js where it does the updateFiltered, it has the same logic as remove. Howeve I've not needed to use update yet to confirm for sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions