Closed wilianwrech closed 2 years ago
I am trying to remove documents from one collection using findAndRemove()
findAndRemove()
As described in documentation, this code above should work, or am I missing something?
findAndRemove(filterObject) Applies a 'mongo-like' find query object removes all documents which match that filter.
I also tried to use removeWhere() and nothing happens, it seems I can't remove documents at all.
removeWhere()
findAndUpdate() and updateWhere() are working fine.
findAndUpdate()
updateWhere()
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am trying to remove documents from one collection using
findAndRemove()
As described in documentation, this code above should work, or am I missing something?
I also tried to use
removeWhere()
and nothing happens, it seems I can't remove documents at all.findAndUpdate()
andupdateWhere()
are working fine.