Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update 06 - mongodb.md

  • Loading branch information...
commit 0ce6c5550be9028fdc98b908a7ca1f36614c9fc7 1 parent 0052f0f
@duarten authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  06 - mongodb.md
View
2  06 - mongodb.md
@@ -126,7 +126,7 @@ In lots of ways:
**Oops.**
- db.blog.remove({remove: 'Some interesting content'})
+ db.blog.remove({content: 'Some interesting content'})
db.blog.insert({title: 'I am a title', content: 'Yadda, yadda, yadda', date: new Date(), tags: ['tag1', 'tag2'], upvotes: 1})
db.blog.update({title: 'I am a title'}, {$set: {content: 'Some interesting content'}})
Please sign in to comment.
Something went wrong with that request. Please try again.