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

query that just returns value in index should get data from index

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.7.3
    • None
    • Querying
    • None

    Description

      if you have something like
      db.users.save(

      { name : "" , address... , etc... }

      )
      db.users.ensureIndex(

      { name : 1 }

      )
      and you do
      db.users.find( {} ,

      { name : 1 }

      )
      it should only look at the index and never go to object.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            eliot Eliot Horowitz (Inactive)
            Votes:
            20 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: