Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindfjeldstad committed Feb 28, 2014
1 parent 6eded19 commit d99b957
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ var child = { age: 10 };
var parent = { children: [child] };

var query = update(child, { age: 20 }, 'children.$');
// => { $set: { 'child.$.age': 20 }}
// => { $set: { 'children.$.age': 20 }}

db.update({ 'child.age': 10 }, query);
db.update({ 'children.age': 10 }, query);
```

## License
Expand Down

0 comments on commit d99b957

Please sign in to comment.