title: select data by email in mongodb
body: <p>how can I select email by Id from user collection like this:</p>
  
  <pre><code>select emailAddress from users where _id="***"
  </code></pre>
  
  <p>I select it like this in mongo but result is not true </p>
  
  <pre><code>db.getCollection('users').find({_id: "QYoHQkTuTXnEC6Pws"},{ "emails.0.address": 1})
  </code></pre>
  
  <p><strong>Updated: Sample file</strong></p>
  
  <pre><code>{
    "_id": "QYoHQkTuTXnEC6Pws",
    "createdAt": ISODate("2017-03-09T06:21:29.664Z"),
  
    "emails": [{
      "address": "x@gmail.com",
      "verified": true
    }],
    "isDeleted": false
  }
  </code></pre>