title: MongoDB subcollection data query
body: <p>I have a document with structure</p>
  
  <pre><code>[{
      "_id": "ECF",
      "values": [
          {
              "name": 'cc1',
              "value": 112
          },
          {
              "name": 'dv2',
              "value": 34234
          }
      ]
  },
      , {
      "_id": "DQE",
      "values": [
          {
              "name": 'ce53',
              "value": 1124,
          },
          {
              "name": 'asdc',
              "value": 332,
          }
      ]
  }]
  </code></pre>
  
  <p>Values have a really huge number of objects, so I need to filter them. So the question is how could I get filtered values?</p>
  
  <p>I did query <code>collection.find({"_id":"DQE", "values.name":{$in:['asdc','ce53']}}, {"values.$":1})</code></p>
  
  <p>But it returns only first matched value object.
  Thank you for help :)</p>