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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Eliot Horowitz (Inactive)
              Reporter:
              Tino Ehrich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: