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

optimize multiple sub-object selectors

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 0.9.9
    • Affects Version/s: 0.9.6
    • Component/s: Usability
    • Labels:
      None

      > db.find5.find()
      {"_id" : "4a4d6db199b25e6fee7649f9" , "a" : 1 , "b" : {"c" : 2 , "d" : 3 , "e" : 4}}
      > db.find5.find( {} ,

      { "b.c" : 1}

      )
      {"_id" : "4a4d6db199b25e6fee7649f9" , "b" : {"c" : 2}}
      > db.find5.find( {} ,

      { "b.c" : 1 , "b.d" : 1 }

      )
      {"_id" : "4a4d6db199b25e6fee7649f9" , "b" : {"c" : 2 , "d" : 3 , "e" : 4}}

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

              Created:
              Updated:
              Resolved: