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

createIndexes should return created index names

    XMLWordPrintable

    Details

      Description

      Currently, the createIndex helper for the Db and Collection classes return the name of the created index. This differs from db.createIndexes being called with one index, which returns the full command response from the server.

      The createIndex helpers should be updated to return the full command response like db.createIndexes.

      db.createIndexes should be updated to return an array of names of the indexes created. This will bring the driver into compliance with the spec.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eric.adum Eric Adum (Inactive)
              Reporter:
              eric.adum Eric Adum (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: