Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4242

Error or unclarity in: "manual/tutorial/create-an-auto-incrementing-field.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 01112017-cleanup
    • None
    • manual

    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.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 13 weeks ago