Method ToAggregateSqlStringAsync<TProps, TResult>(IRedbQueryable<TProps>, Expression<Func<RedbObject<TProps>, TResult>>)

Assembly: redb.Core.dll

Returns the SQL query for aggregation (for debugging).
Similar to .ToQueryString() from EF Core, but for REDB aggregations.

public static Task<string> ToAggregateSqlStringAsync<TProps, TResult>(this IRedbQueryable<TProps> query, Expression<Func<RedbObject<TProps>, TResult>> selector) where TProps : class, new()