Skip to main content

affected

Function affected 

Source
pub fn affected(
    reads: &ReadSet,
    changes: &[RowChange],
    answers: &mut Answers,
    lookups: &mut Lookups<'_>,
) -> Result<bool>
Expand description

Whether changes could change what reads returned. Past ROWS_PER_TABLE row changes to one table, a join’s values in that table count as matched without a lookup, as a table changed whole would, so a write’s lookups stay bounded. A question that runs past LOOKUP_STEPS and stops leaves sqlive unable to tell, so reads count as changed whatever the other questions answer (§4).