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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 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)
            fightbulc Tino Ehrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: