Open marcoschwartz opened 5 years ago
Need help on this as there are some depreciation warnings if you pass connection object to ascoltatore
.
Depreciation warnings are:
DeprecationWarning: Cursor.each is deprecated. Use Cursor.forEach instead.
DeprecationWarning: collection.insert is deprecated. Use insertOne, insertMany or bulkWrite instead.
My current versions for mongo connection.
"mongodb": "^3.1.10",
"mongoose": "^5.4.3"
Let me know if i can contribute for same.
Hello,
I recently moved from mLab to MongoDB Atlas (as they've been bought anyway by MongoDB), and I can't connect to my database there because the mongodb driver is outdated in mosca (using 2.x version, whereas the current version is 3.1.x). Would it be possible to update that in the dependencies?