Closed npvn closed 10 years ago
@npvn hooks for update
and remove
happen at the document level and not the selector level. If you take a look at the code, you'll see that the find
operation is run first to get the set of matching documents, and then hooks called for each one.
Got it. Thank you very much!
I'm curious why we can modify the selector for find/findOne, but not for insert/update/remove.