Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

2012-10-12 - NoSQL in .NET - mit Redis und Mongodb

2,055 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

2012-10-12 - NoSQL in .NET - mit Redis und Mongodb

  1. 1. › SET note1:title "Mittag"› SET note1:message "nicht vergessen"› KEYS note1:*› GET note1:title› DEL note1:title note1:message
  2. 2. http://bit.ly/ISv9f6
  3. 3. –› use WebNote› db.Notes.save( { Title: Mittag, Message: nicht vergessen‘ } );› db.Notes.save
  4. 4. –› db.Notes.find();› db.Notes.find({ Title: /Test/i });› db.Notes.find( { "Categories.Color": "red"}).limit(1);
  5. 5. –› db.Notes.update({Title: Test}, {$set: {Categories: []}});› db.Notes.update({Title: Test}, {$push: { Categories: {Color: Red} } });
  6. 6. –› db.dropDatabase();› db.Notes.drop();› db.Notes.remove();
  7. 7. ››
  8. 8. https://nuget.org/packages/Mongo2Go/

×