distinctByHistoryKey method

QueryBuilder<SearchHistoryItem, SearchHistoryItem, QDistinct> distinctByHistoryKey(
  1. {bool caseSensitive = true}
)

Implementation

QueryBuilder<SearchHistoryItem, SearchHistoryItem, QDistinct>
    distinctByHistoryKey({bool caseSensitive = true}) {
  return QueryBuilder.apply(this, (query) {
    return query.addDistinctBy(r'historyKey', caseSensitive: caseSensitive);
  });
}