distinctByAuthor method

QueryBuilder<MediaItem, MediaItem, QDistinct> distinctByAuthor(
  1. {bool caseSensitive = true}
)

Implementation

QueryBuilder<MediaItem, MediaItem, QDistinct> distinctByAuthor(
    {bool caseSensitive = true}) {
  return QueryBuilder.apply(this, (query) {
    return query.addDistinctBy(r'author', caseSensitive: caseSensitive);
  });
}