Path: redb/redb.Core/Query/Window/IRedbWindowedQueryable.cs
Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb
Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Core/Query/Window/IRedbWindowedQueryable.cs
----
using System.Linq.Expressions;
using redb.Core.Models.Entities;
namespace redb.Core.Query.Window;
///
/// Interface for queries with window functions.
///
public interface IRedbWindowedQueryable where TProps : class, new()
{
///
/// Projection with window functions.
///
Task> SelectAsync(
Expression, TResult>> selector,
CancellationToken cancellationToken = default);
///
/// Returns SQL string for debugging (like EF Core ToQueryString).
///
Task ToSqlStringAsync(
Expression, TResult>> selector,
CancellationToken cancellationToken = default);
}