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

query with array indexes

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.2
    • Component/s: Querying
    • Labels:
      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

            Assignee:
            dwight_10gen Dwight Merriman
            Reporter:
            eliot Eliot Horowitz (Inactive)
            Participants:
            Votes:
            4 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: