Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
*Location*: https://docs.mongodb.com/ecosystem/drivers/
*User-Agent*: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
*Referrer*: https://docs.mongodb.com/manual/mongo/
*Screen Resolution*: 1680 x 1050
Description
In the 3.x driver, various classes and methods have been deprecated, e.g. DBCollection, DB, etc.
DBCollection has been superseded by MongoCollection.
But there seems no way to convert between those. So is the only way to rewrite all your existing code at once?
Converting from old to new (and if possible, the other way around) would make transition so much smoother!