You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 theremove
should work the same way as thefind
.I mentioned
update
in the title, because looking atutil.js
where it does theupdateFiltered
, it has the same logic asremove
. Howeve I've not needed to useupdate
yet to confirm for sure.The text was updated successfully, but these errors were encountered: