Class GroupedWindowedQueryable<TKey, TProps>

Assembly: redb.Core.dll

Queryable for applying window functions to grouped data.
Wraps grouped query and adds window function support.

public class GroupedWindowedQueryable<TKey, TProps> : IGroupedWindowedQueryable<TKey, TProps>

Inheritance

Object→GroupedWindowedQueryable<TKey, TProps>

Implements

Properties

IsBaseFieldGrouping

True when the key comes from GroupByRedb: its members are fields of the object, not of Props.

public bool IsBaseFieldGrouping { get; init; }

Methods

SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>, CancellationToken)

Execute query and materialize results with window functions applied to groups.

public Task<List<TResult>> SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>> selector, CancellationToken cancellationToken = default)

SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)

Execute query and materialize results with window functions applied to groups.

public Task<List<TResult>> SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>> selector)

ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>, CancellationToken)

Get SQL preview for debugging.

public Task<string> ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>> selector, CancellationToken cancellationToken = default)

ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>>)

Get SQL preview for debugging.

public Task<string> ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TProps>, TResult>> selector)

Constructors