Replies: 2 comments 3 replies
-
I did something like this select.with.iter().for_each(|with| {
with.cte_tables.iter().for_each(|cte_table| {
cte_tables.insert(cte_table.alias.name.value.clone());
});
}); |
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe you want to look into Which will handle the traversal for you |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there a way to collect all CTE tables from an ast?
I want to collect
london1_monthly_revenue
andlondon2_monthly_revenue
from above expressionBeta Was this translation helpful? Give feedback.
All reactions