title: Meteor: how to search for only distinct field values aka a collection.distinct("fieldname") similar to Mongo's
body: <p>I'm using Meteor, and I'm trying to find only distinct (unique) values of a field.
  Mongodb has the command </p>
  
  <pre><code>Collection.distinct("fieldname");
  </code></pre>
  
  <p>but it's not implemented in the Meteor driver for Mongo. 
  I've tried using the meteor-mongo-extensions package but still got an "undefined" on the client console for a client-side <code>Collection.distinct("fieldname");</code></p>
  
  <p>what, essentially, is a distinct looking for? </p>
  
  <p>I feel like someone this is such a basic query- like for example a list of students with their teacher as a field, and then making a list of students by teachers out of that, for example...</p>
  
  <p>if I can just wrap my lazy errant brain around the general concept I can probably bash something workable out.</p>