title: Filter store records - Distinct
body: <p>I am fetching some records, and using the filter property as shown below;</p>
  
  <pre><code>store = Ext.getStore('PEOPLE');
  store.on('load', function() {
      store.filter({
          filterFn: function(f) {
              return f.get('Name') == "SAM"; 
          }
      });
  });
  store .load();
  </code></pre>
  
  <p>The above code, will filter <strong>all</strong> Names that has the name <code>SAM</code>. But, what i want it to <strong>ONLY</strong> return 1 name (just only SAM (<strong>Once</strong>)). </p>
  
  <p>For example, in databases we use the keyword <strong>DISTINCT</strong> to get just 1 record (if there are multiples). How can i do this in my scenario ?</p>