title: How to compare values of documents of diferents collections in mongodb?
body: <p>I have a collection that I want to search if any of the id of your documents matches a field of documents from another collection</p>
  
  <p>Find the field value of the document of one collection with the value of the document of the other and if it exists, then create and update a field in the first collection</p>