Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
mac osX, 10.7, firefox 32.03
*Location*: http://docs.mongodb.org/manual/tutorial/create-an-auto-incrementing-field/#auto-increment-counters-collection
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:32.0) Gecko/20100101 Firefox/32.0
*Screen Resolution*: 1440 x 900
*repo*: docs
*source*: tutorial/create-an-auto-incrementing-field
mac osX, 10.7, firefox 32.03 *Location*: http://docs.mongodb.org/manual/tutorial/create-an-auto-incrementing-field/#auto-increment-counters-collection *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:32.0) Gecko/20100101 Firefox/32.0 *Screen Resolution*: 1440 x 900 *repo*: docs *source*: tutorial/create-an-auto-incrementing-field
Description
1. run tryit
2. copy / paste examples on page in sequence shown, e.g. 1,2,3., into tryit.
3. Section with this code:
db.users.insert(
{ _id: getNextSequence("userid"), name: "Sarah C." }) ////....
will error with
ERROR: findAndModify is not implemented.
TypeError: invalid 'in' operand obj
If this is the expected result, page should explain why.