pub fn capture_command_read_snapshot<S: Clone + 'static>(
snapshots: &dyn SnapshotSource<S>,
inherited: Option<&CteScope<S>>,
before_statement_trigger: bool,
ctes: &[CtePlan],
) -> Result<Option<Arc<S>>, SQLError>Expand description
Retain the command’s original read generation when CTE writes or BEFORE statement triggers can change visible rows.