distinctBySearchTerm method

QueryBuilder<DictionarySearchResult, DictionarySearchResult, QDistinct> distinctBySearchTerm(
  1. {bool caseSensitive = true}
)

Implementation

QueryBuilder<DictionarySearchResult, DictionarySearchResult, QDistinct>
    distinctBySearchTerm({bool caseSensitive = true}) {
  return QueryBuilder.apply(this, (query) {
    return query.addDistinctBy(r'searchTerm', caseSensitive: caseSensitive);
  });
}