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

query with array indexes

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 1.3.2
    • Querying
    • None

    Description

      doesn't work
      > t.find(

      { "a.0.x" : 1 }

      )
      > t.find()
      {"_id" : ObjectId( "4a61b6711591f41f0f1bc5ff") , "name" : "test" , "anotherdoc" : {"somenum" : 1 , "something" : "somenewval"}}
      {"_id" : ObjectId( "4a68cd809fc5017126fdd57f") , "a" : [

      {"x" : 1}

      ]}

      Attachments

        Activity

          People

            dwight@mongodb.com Dwight Merriman
            eliot Eliot Horowitz (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: