If this node's expressions contains any references to an outer subquery
(&self)
| 1473 | |
| 1474 | /// If this node's expressions contains any references to an outer subquery |
| 1475 | pub fn contains_outer_reference(&self) -> bool { |
| 1476 | let mut contains = false; |
| 1477 | self.apply_expressions(|expr| { |
| 1478 | Ok(if expr.contains_outer() { |
| 1479 | contains = true; |
| 1480 | TreeNodeRecursion::Stop |
| 1481 | } else { |
| 1482 | TreeNodeRecursion::Continue |
| 1483 | }) |
| 1484 | }) |
| 1485 | .unwrap(); |
| 1486 | contains |
| 1487 | } |
| 1488 | |
| 1489 | /// Get the output expressions and their corresponding columns. |
| 1490 | /// |
no test coverage detected