Toggle navigation
Home
com.mongodb.DBCollection to com.mongodb.client.MongoCollection<org.bson.Document>
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'camel'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: External -> External
Mapping:
Rename Method invocation
insert
to
insertOne
insert
to
insertMany
insert
to
insertOne
update
to
updateOne
insert
to
insertOne
update
to
updateOne
Add or Remove Method invocation
eventCollection.find(BasicDBObjectBuilder.start().get())
to
eventCollection.find()
BasicDBObjectBuilder
to
and(gte(eventConfiguration.timestampProperty(),legacyTrackingToken.getTimestamp().toString()),gte(eventConfiguration.sequenceNumberProperty(),legacyTrackingToken.getSequenceNumber()))
connection.getDB(config.db).getCollection(config.collection)
to
connection.getDatabase(config.db).getCollection(config.collection)
dbCol.findOne(filter)
to
dbCol.find(filter).first()
dbCol.findOne(filter)
to
dbCol.find(filter).first()
dbCol.findOne()
to
dbCol.find().first()
dbCol.findOne(trackingObj)
to
dbCol.find(trackingObj).first()
putObj
to
new UpdateOptions().upsert(true)
Update argument list (Method invocation)
createIndex
to
createIndex
createIndex
to
createIndex
createIndex
to
createIndex
createIndex
to
createIndex
Cascading Type Change (Different)
WriteResult
to
UpdateResult