Method DistinctBy<TKey>(Expression<Func<TProps, TKey>>)

Assembly: redb.Core.dll

DISTINCT ON (field) - one object per unique Props field value.
Automatically adds field to beginning of ORDER BY (PostgreSQL requirement).

public virtual IRedbQueryable<TProps> DistinctBy<TKey>(Expression<Func<TProps, TKey>> keySelector)