title: How to query nested objects with multiple value in MongoDB?
body: <p>I have array of nested objects in my MongoDB schema. Lets say,</p>
  
  <pre><code>var Post = {
      "title": "Some title",
      "advertisers" : [
          {
              "category" : "Tech",
              "name" : "Henry",
              "city" : "New york",
              "updated_at" : ISODate("2011-07-26T21:02:19Z"),
              "created_at" : ISODate("2011-07-26T21:02:19Z")
          },
      ]
  }
  </code></pre>
  
  <p>I want to find the post based on the multiple values in nested schema. eg </p>
  
  <pre><code>Post.find({ 'advertisers.category' : 'Tech', 'advertisers.city': 'New York' }); 
  </code></pre>
  
  <p>It returns post which matches one of the above criteria. But i want posts which matches both.</p>
  
  <p>How can i do it?</p>