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

Comment on: "manual/core/index-unique.txt"

      It'd be handy if the page on Unique Indexes actually referenced the error code that you get when you violate it, esp. the case w/ the null (unique index and missing field).

      https://github.com/mongodb/docs/blob/master/source/core/index-unique.txt

      Stackoverflow pages are the first few 'hits' for the error, and our docs should be.

      i.e.

      E11000 duplicate key error index: ... dup key: { : null }

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            nicholas.tang@mongodb.com Nicholas Tang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              8 years, 41 weeks, 3 days ago