Toggle navigation
Home
com.mongodb.DB to com.mongodb.client.MongoDatabase
No. of Instances - 6
No. of Commits - 1
No. of Projects - {'immutables'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: External -> External
Mapping:
Add or Remove Method invocation
client.getDB(DBNAME)
to
client.getDatabase(DBNAME)
database.dropDatabase()
to
database.drop()
mongo.getDB(databaseName)
to
mongo.getDatabase(databaseName)
db.getCollection(endpoint.getCollection())
to
db.getCollection(endpoint.getCollection(),BasicDBObject.class)
db.getCollection(dynamicCollection)
to
db.getCollection(dynamicCollection,BasicDBObject.class)
db.command(cmdObj)
to
db.runCommand(cmdObj)
mongo.getDB(dbName)
to
mongo.getDatabase(dbName)
db.getCollection(testCollectionName)
to
db.getCollection(testCollectionName,BasicDBObject.class)
db.getCollection(testCollectionName)
to
db.getCollection(testCollectionName,BasicDBObject.class)
db.getCollection(dynamicCollectionName)
to
db.getCollection(dynamicCollectionName,BasicDBObject.class)
db.getCollection(dynamicCollectionName)
to
db.getCollection(dynamicCollectionName,BasicDBObject.class)
db.command("isMaster")
to
db.runCommand(new Document("isMaster",1))
Cascading Type Change (Similar)
DB
to
MongoDatabase
DB
to
MongoDatabase
Rename Method invocation
getDb
to
getMongoDatabase
getCollectionFromString
to
getCollection
getCollectionFromString
to
getCollection
getCollectionFromString
to
getCollection
Cascading Type Change (Different)
DBCollection
to
MongoCollection<Document>
DBCollection
to
MongoCollection<Document>
DBCollection
to
MongoCollection<Document>