Documentation for $addToSet incorrect #3

solussd opened this Issue Aug 7, 2012 · 0 comments


None yet
2 participants

solussd commented Aug 7, 2012

In the updating documentation ( 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