Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1041

Query on arrayelement does not work

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.0.7
    • None
    • None
    • win10, VS2013 c++, mongo.exe

    Description

      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?

      Attachments

        Activity

          People

            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            mf Michael Falck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: