title: MongoDB query. Match each element from array of objects (ad conditions)?
body: <p>I have articles in db and I need to get slugs for each of dates.</p>
  
  <pre><code>"eventDate" : {
      "day" : "21",
      "month" : "04"
  },
  "slug": "some-slug"
  ...
  </code></pre>
  
  <p>As and input I have <code>[{day: '01', month: '02'}, {day: '02', month: '02'}]</code> and I need to get all articles that match this.
  I did something like this: </p>
  
  <pre><code>.find({'eventDate': { $in: myArrayOfObjects}}, {slug: 1})
  </code></pre>
  
  <p>How do I get it correctly?</p>