Documentation for $addToSet incorrect #3

Closed
solussd opened this Issue Aug 7, 2012 · 0 comments

Comments

Projects
None yet
2 participants
@solussd

solussd commented Aug 7, 2012

In the updating documentation (http://clojuremongodb.info/articles/updating.html) the heading is wrong for the $addToSet example (should be $AddToSet, not $PushAll) and the usage example has a bug in it.

example reads:

(mgcol/update coll {:_id oid} {$addToSet {:permissions ["write"]}})

should be:

(mgcol/update coll {:_id oid} {$addToSet {:permissions "write"}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment