com.mongodb.MongoClient = new Fongo(mongoURI).getMongo();
This was our old code.
Since now many methods are deprecated for com.mongodb.MongoClient, we are moving to com.mongodb.client.MongoClient.So, is there a way to get com.mongodb.client.MongoClient with Fongo now?
com.mongodb.MongoClient = new Fongo(mongoURI).getMongo(); This was our old code.
Since now many methods are deprecated for com.mongodb.MongoClient, we are moving to com.mongodb.client.MongoClient.So, is there a way to get com.mongodb.client.MongoClient with Fongo now?