Replies: 1 comment 2 replies
-
you can call walk() to traverse the entire tree and check if any of the nodes are equal to your node |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two SQLs. From their trees, I want to find if one node's subtree is present in another or not.
I had a look at the AST Diff page, but I am not sure on how to proceed looking node-wise (and their subtrees).
Beta Was this translation helpful? Give feedback.
All reactions