title: MongoDB Database, equivalent for SELECT column1, column2 FROM tbl
body: <p>From my MongoDB I want the equivalent for</p>
  
  <pre><code>  SELECT column1, column2
    FROM tbl
  </code></pre>
  
  <p>With this code I get all the 'rows' but also all the 'columns'</p>
  
  <pre><code>  DBCollection collection = database.getCollection("names");
    DBCursor cursor = collection.find();
  </code></pre>
  
  <p>I for example would like <strong>all</strong> the 'rows' but <strong>only</strong> the 'columns':  id, name, age </p>
  
  <p>How would I do this?</p>
  
  <p>Thanks for any help!!</p>