[DOCS-8234] Old classes deprecated, but no way to convert between old and new Created: 08/Jul/16  Updated: 03/Nov/17  Resolved: 08/Jul/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Participants:
Days since reply: 7 years, 31 weeks, 5 days ago

 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!



 Comments   
Comment by Ravind Kumar (Inactive) [ 08/Jul/16 ]

Thank you for filing a DOCS ticket.

Please see Upgrading to 3.0 for instructions on upgrading to the new driver.

Generated at Thu Feb 08 07:55:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.