title: How to store values of a specific attribute from multiple documents?
body: <p>I have multiple documents stored in a single collection. I want to be able to go through each document and get the ObjectID value from each one and store them into a single array. I am not sure how to go about doing this. This is what I have so far:</p>
  
  <pre><code>app.get("/sessionID", (req, res) =&gt; {
  use iRateIt;
  var value = iRateIt.responses.count();
  for (var i = 0; i &lt; value; i++){
    //code to store ID values in an array
    }
  });
  </code></pre>