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
In latest Mongoose version (v5.3.7) the "remove()" method is deprecated in favor of deleteOne() and deleteMany(), but in the documention there is no replacement of the pre('remove') middleware that triggers when using deleteOne() or deleteMany().
In latest Mongoose version (v5.3.7) the "remove()" method is deprecated in favor of deleteOne() and deleteMany(), but in the documention there is no replacement of the pre('remove') middleware that triggers when using deleteOne() or deleteMany().
Node.js : v8.12.0
MongoDB : v3.6.8
Mongoose : 5.3.7
Thanks in advance.
The text was updated successfully, but these errors were encountered: