Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11267

Deprecate shell helper db.collection.getIndexSpecs()

      There are 3 shell helpers.

      > db.test.getIndexSpecs
      function (){
          return this.getDB().getCollection( "system.indexes" ).find( { ns : this.getFullName() } ).toArray();
      }
      > db.test.getIndexes
      function (){
          return this.getDB().getCollection( "system.indexes" ).find( { ns : this.getFullName() } ).toArray();
      }
      > db.test.getIndices
      function (){
          return this.getDB().getCollection( "system.indexes" ).find( { ns : this.getFullName() } ).toArray();
      }
      

      The most likely least used is getIndexSpecs()

      This is useful when autocompleting this functions

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            gianfranco Gianfranco Palumbo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: