pub fn get_all_tables(expr: &Expression) -> Vec<Expression>Expand description
Collects all referenced tables from the expression tree, including DML
target tables that are stored as TableRef struct fields and are therefore
not reachable through normal tree traversal.
Returns owned Expression::Table values. This is the comprehensive version
of get_tables — use it when you need to discover every table referenced
in a statement, including inside CTE bodies containing INSERT/UPDATE/DELETE.