Skip to main content

predicate_target_column

Function predicate_target_column 

Source
pub fn predicate_target_column(expr: &Expr, variable: &str) -> Option<String>
Expand description

If expr is a property predicate (Property(var, p) <op> _ or Property(var, p) IN _) on variable, return the property name. Used by the planner to match analyzer-detected hash-index columns back to the originating predicate.