Skip to content

Conversation

@enragedbunny
Copy link
Owner

Added a function to support iterating through sub-queries to identify table references when sub-queries are used as table definitions. Modified if statement to identify when this was the case and call the function to recursively go through the references.

This worked on some of the example use cases I had where sub-queries were used in From statements. I have not extensively tested this functionality. I had not previously used functions to use recursion like this but used the example already there as an example.

Added a function to support iterating through sub-queries to identify table references when sub-queries are used as table definitions. Modified if statement to identify when this was the case and call the function to recursively go through the references.

This worked on some of the example use cases I had where sub-queries were used in From statements. I have not extensively tested this functionality. I had not previously used functions to use recursion like this but used the example already there as an example.
@enragedbunny enragedbunny merged commit 64bedb2 into master Sep 3, 2018
@enragedbunny enragedbunny deleted the enragedbunny-QueryDefinedTableReference-1 branch September 3, 2018 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants