Skip to main content

is_read_then_write_statement

Function is_read_then_write_statement 

Source
fn is_read_then_write_statement(stmt: &Statement<Raw>) -> bool
Expand description

Whether a statement is one the frontend read-then-write path sequences.

These are the statement kinds that plan to a ReadThenWrite or an Insert. Note that not every one of them ends up on the OCC path: an INSERT whose source folds to a constant is dispatched as a blind write instead.