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