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

query with array indexes

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.3.2
    • Affects Version/s: None
    • Component/s: Querying
    • None

      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}

      ]}

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

              Created:
              Updated:
              Resolved: