Skip to main content

null_propagate_reverse

Macro null_propagate_reverse 

Source
macro_rules! null_propagate_reverse {
    ($value:expr, $output_constraint:expr) => { ... };
}
Expand description

Macro for null handling in reverse evaluation. If the constant value is NULL:

  • If output constraint is Equals(Value::Null), return Universal (any input could produce NULL)
  • Otherwise, return Empty (non-NULL output is impossible with NULL input)

Usage: let value = null_propagate_reverse!(constant_value, output_constraint);