Query on arrayelement does not work

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.7
    • Component/s: None
    • None
    • Environment:
      win10, VS2013 c++, mongo.exe

      I'm new to mongoDB, trying to formulate my query.
      First in mongo.exe later converting to c++.
      In the appended file you'll find the population of my testcase.
      Next is the query "db.info.find({'colors.rgb.center.a0.i0.stdDev.1':{ $gt: 50, $lt:60 }},

      {'colors.rgb.center.a0.i0.stdDev':1}

      )", which returns empty, whereas I expect the first entry.
      The querey is more or less copied from the tutorial. Can you help?

            Assignee:
            Gabriel Russell (Inactive)
            Reporter:
            Michael Falck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: