Tutorial uses outdated .ensureIndex

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • legacy-1.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Samantha Ritter (Inactive)
            Reporter:
            Russell Kaplan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: