Method BuildPvtInnerSqlAsync<TProps>(QueryContext<TProps>, bool, CancellationToken)

Assembly: redb.Core.dll

Phase 1: ask the database to build the inner _id-list SQL string.
When forCount is true the call passes p_limit=NULL, p_offset=0 and no order (used for the
COUNT/EXISTS wrappers): a count needs no order, and the SQL Server module keeps an order without paging with
OFFSET 0 ROWS, which would sort the rows only to count them.

protected Task<string> BuildPvtInnerSqlAsync<TProps>(QueryContext<TProps> context, bool forCount, CancellationToken cancellationToken = default) where TProps : class, new()