Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4755

Clarify deprecation status of autoIndexId

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.12.0
    • Affects Version/s: None
    • Component/s: None
    • 1
    • Not Needed
    • Not Needed

      AC

      • Update our API docs to clarify that autoIndexId is deprecated on the server (and possibly provide more context or an alternative API), and that it will be removed from the driver once it is no longer supported on the server (but not before then)

      For reference, the official docs for autoIndexId state the following:

      Optional. Specify false to disable the automatic creation of an index on the _id field.

      IMPORTANT
      Starting in MongoDB 4.0, you cannot set the option autoIndexId to false when creating collections in databases other than the local database.

      Deprecated since version 3.2.

            Assignee:
            daria.pardue@mongodb.com Daria Pardue
            Reporter:
            daria.pardue@mongodb.com Daria Pardue
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: