what do you mean backwards compatibility
play

What do you mean, Backwards Compatibility? Trisha Gee, Java Driver - PowerPoint PPT Presentation

#gotober What do you mean, Backwards Compatibility? Trisha Gee, Java Driver Developer @trisha_gee Friday, 18 October 13 Whats the problem? Friday, 18 October 13 The Domain Friday, 18 October 13 MongoDB is an open-source document


  1. collection.update(query, newValues); collection.find(query).updateOne(newValues); collection.update(query, newValues, false , false , JOURNALED ); Update Friday, 18 October 13

  2. collection.update(query, newValues); collection.find(query).updateOne(newValues); collection.update(query, newValues, false , false , JOURNALED ); collection.find(query) .withWriteConcern( JOURNALED ) .updateOne(newValues); Update Friday, 18 October 13

  3. Update Friday, 18 October 13

  4. collection.update(query, newValues); collection.find(query).updateOne(newValues); collection.update(query, newValues, false, false, JOURNALED ); collection.find(query) .withWriteConcern( JOURNALED ) .updateOne(newValues); collection.update(query, newValues, true , false, JOURNALED ); Update Friday, 18 October 13

  5. collection.update(query, newValues); collection.find(query).updateOne(newValues); collection.update(query, newValues, false, false, JOURNALED ); collection.find(query) .withWriteConcern( JOURNALED ) .updateOne(newValues); collection.update(query, newValues, true , false, JOURNALED ); collection.find(query) .withWriteConcern( JOURNALED ) .upsert() .updateOne(newValues); Update Friday, 18 October 13

  6. Update Friday, 18 October 13

  7. collection.update(query, newValues); collection.find(query).updateOne(newValues); collection.update(query, newValues, false, false, JOURNALED ); collection.find(query) .withWriteConcern( JOURNALED ) .updateOne(newValues); collection.update(query, newValues, true, true , JOURNALED ); collection.find(query) .withWriteConcern( JOURNALED ) .upsert() .update(newValues); Update Friday, 18 October 13

  8. MongoDB is an open-source document database, featuring: • Document-Oriented Storage • Full Index Support • Replication & High Availability • Auto-Sharding • Querying • Fast In-Place Updates • Map/Reduce • GridFS Friday, 18 October 13

  9. MongoDB is an open-source document database, featuring: • Document-Oriented Storage • Full Index Support • Replication & High Availability • Auto-Sharding • Querying • Fast In-Place Updates • Map/Reduce • GridFS Friday, 18 October 13

  10. Atomic Operations Friday, 18 October 13

  11. Find and Modify Friday, 18 October 13

  12. collection.findAndModify(query, newValues); Find and Modify Friday, 18 October 13

  13. collection.findAndModify(query, newValues); collection.find(query) . getOneAndUpdate (newValues); Find and Modify Friday, 18 October 13

  14. They hate me! Friday, 18 October 13

  15. Find and Modify Friday, 18 October 13

Recommend


More recommend