distinctByUniqueKey method

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

Implementation

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