title: Meteor find using $in with array of Ids
body: <p>I'm trying to get back collections using $in and an array of Ids </p>
  
  <p>I have the following but it's not working </p>
  
  <pre><code>var blockByLocation = Blocks.find({location: location});
      var producersArray = [];
      blockByLocation.forEach(function (block) {
          producersArray.push(block.producerId);
      });
  
      console.log(producersArray);
  
  producersList = Producers.find({$and:[{organizationId: user.organizationId}, {_id:{$in: producersArray}}]}).map(function (obj) {
              return {text: obj.name, id: obj._id};
  });
  </code></pre>