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

Comment on: "manual/reference/object-id.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      Believe this is incorrect in the doc:

      To return the string representation of an ObjectId() object, use the toString() method as follows:

      ObjectId("507f191e810c19729de860ea").toString()
      This operation will return the following output:

      ObjectId("507f191e810c19729de860ea")

      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:
              8 years, 34 weeks, 4 days ago