Skip to main content

query_all_matches_every_event

Function query_all_matches_every_event 

pub async fn query_all_matches_every_event<F: Fixture>(
    open: impl AsyncFn() -> F,
) -> RuleOutcome
Expand description

Query::all() matches every event in the store.

The types are appended in descending alphabetical order, which costs four characters and is the difference between a rule and a decoration. With "A", "B", "C" the expected result is simultaneously insertion order and type order, so SortByEventTypeStore — ORDER BY type, position, which is what a covering index on (type, position) gives you — passes it. That mutant is in the registry, and this ordering is what it fails.