Method TryAllWithoutFilterAsync<TProps>(QueryContext<TProps>, FilterExpression, CancellationToken)

Assembly: redb.MSSql.Pro.dll

AllAsync over every object of the scheme when the predicate is one condition on a plain scalar field (a comparison, an
IN list, a presence check). An object for which it is not TRUE has no row of the field satisfying it, its value absent
included. The statement first looks for one among the first objects of the scheme in
id order, where common counterexamples are found at once; then it compares two counts read off indexes, the objects of
the scheme against the values of the field that satisfy the condition, the trash subtracted (the invariant of the
driving leaf, PivotSqlGenerator.AppendStreamsSelect). One row per object of a scalar field makes the difference the
number of counterexamples. Over 100 000 objects: All true 61 -> ~42 ms (number) and 88 -> ~58 ms (text), against two
counts of the streams; half of them failing 83 -> 1 ms. A NOT EXISTS per object instead read 550 ms when All held.
Any other predicate, or the planner off, keeps the two counts.

protected override Task<bool?> TryAllWithoutFilterAsync<TProps>(QueryContext<TProps> context, FilterExpression predicate, CancellationToken cancellationToken) where TProps : class, new()