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

Investigate changes in SERVER-50442: Remove ensureIndex shell function

      Description

      Downstream Change Summary

      TBD once this ticket is complete.

      Description of Linked Ticket

      Documentation (https://docs.mongodb.com/manual/reference/method/db.collection.ensureIndex/) says that ensureIndex is an alias for createIndex. In fact this function accepts fewer arguments and has different behaviour: https://github.com/mongodb/mongo/blob/master/src/mongo/shell/collection.js#L666-L678

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            dave.cuthbert@mongodb.com Dave Cuthbert (Inactive)
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              3 years, 5 weeks, 2 days ago