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

optimize multiple sub-object selectors

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 0.9.9
    • 0.9.6
    • Usability
    • None

    Description

      > 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}}

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: