code: public List distinct(String key, DBObject query) {
          return dbCollection.distinct(key, serializeFields(query));
      }
docs: find distinct values for a key
  
  @param key   The key
  @param query query to match
  @return The results