@marijn Thank you for your prompt response. We are also writing a formatter and hence we’ve got the hang of using the indexes in the cursor to navigate through the code.
We’re trying to a very crude static analysis like run through multiple SQL queries and parsing out the tables being referenced and so we’d to look for all objects inside the
FromStmt node. So for things like that, I think this may work out.
I’ll keep this community posted regarding the results of doing the static analysis. Again thank you for your time.