Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-287

Tutorial uses outdated .ensureIndex

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • legacy-1.0.0-rc1
    • None
    • None

    Description

      On the tutorial page of the C++ driver, the section labeled "Indexing" uses the deprecated DBClientConnection::ensureIndex method, which no longer exists as part of the DBClientConnection API. It appears to now be called createIndex.

      Fix is just :%s/ensureIndex/createIndex/g

      Attachments

        Activity

          People

            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            russell.kaplan Russell Kaplan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: