title: Fetch document by passing array of objects in mongoose
body: <p>How can we fetch documents from the mongo db collection by passing an array of objects in node js server. For an example, </p>
  
  <pre><code>var arr = [
       { "name": "ABC", "location": "NY"},
       { "name": "CDE", "location": "LA"},
       { "name": "EFG", "location": "NZ"}
  ];
  </code></pre>
  
  <p>here, objective is to fetch the documents, which are all satisfies this name and location combination.</p>