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());
});
}); |
0 replies
|
Maybe you want to look into Which will handle the traversal for you |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
Is there a way to collect all CTE tables from an ast?
I want to collect
london1_monthly_revenueandlondon2_monthly_revenuefrom above expressionAll reactions