-
Methods Method Description com.mongodb.DBCursor.explain() Replace with direct use of the explain command using the runCommand helper methodcom.mongodb.MongoClient.getDB(String) This method is not currently scheduled for removal, but preferMongoClient.getDatabase(String)
for new code. Note thatDB
andMongoDatabase
can be used together in the same application, with the same instance.