replaces the old document with the new document in the collection concode_field_sep MongoClient _mongoClient concode_elem_sep String _dbName concode_elem_sep DBCollection _collection concode_elem_sep String _collectionName concode_elem_sep String _host concode_elem_sep int _port concode_field_sep BasicDBObject CreateSampleDocument concode_elem_sep DBCollection GetCollection concode_elem_sep DBCollection GetCollection concode_elem_sep void DeleteDocument concode_elem_sep void DeleteAllDocuments concode_elem_sep void InsertDocument concode_elem_sep long GetCollectionCount concode_elem_sep List<DBObject> GetAllDocuments concode_elem_sep BasicDBObject CreateDocument concode_elem_sep BasicDBObject CreateDocument concode_elem_sep DBObject GetDocumentByID
void function ( BasicDBObject arg0 , BasicDBObject arg1 ) { BasicDBObject loc0 = new BasicDBObject ( ) ; loc0 . put ( "srini_string" , arg1 ) ; _collection . update ( arg0 , loc0 , false , true ) ; }