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
Native driver has aliases removeOne for deleteOne and removeMany for deleteMany but mongodbext doesn't wrap these methods. So when removeOne/removeMany are called hooks are not triggered.
There two ways to fix this problem:
wrap removeOne/removeMany similar to deleteOne/deleteMany
deprecate this methods
What are you think?
The text was updated successfully, but these errors were encountered:
artzhookov
changed the title
removeOne/removeMany don't trigger hooks
Method removeOne/removeMany doesn't trigger hooks
Apr 29, 2017
Native driver has aliases
removeOne
fordeleteOne
andremoveMany
fordeleteMany
but mongodbext doesn't wrap these methods. So whenremoveOne
/removeMany
are called hooks are not triggered.There two ways to fix this problem:
removeOne
/removeMany
similar todeleteOne
/deleteMany
What are you think?
The text was updated successfully, but these errors were encountered: