Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Select Statement Parser #6

Open
jogibear9988 opened this issue Mar 3, 2018 · 2 comments
Open

Enhance Select Statement Parser #6

jogibear9988 opened this issue Mar 3, 2018 · 2 comments
Assignees

Comments

@jogibear9988
Copy link

Is it planed to add more Statement Parsers?

For example, in the Select Statement, the "select" property contains only Tokens. But I'd like to find out, if it contains subselects...

Or in the From, if it contains joins. I think they should contain also statements

@bruce-dunwiddie
Copy link
Owner

Yes, it's part of the plan, but I haven't decided on a timeline.

For what you're looking for, you shouldn't technically need another parser, we just need to figure out a good way of expressing the results in the TSQLSelectStatement and/or TSQLFromClause classes and related classes, plus a few minor additions to the existing TSQLSelectStatementParser logic.

Feel free to come up with a suggested solution and submit a pull request.

@bruce-dunwiddie bruce-dunwiddie changed the title Statement Parsers.... Enhance Select Statement Parser Jul 4, 2018
@bruce-dunwiddie bruce-dunwiddie self-assigned this Sep 19, 2018
bruce-dunwiddie added a commit that referenced this issue Oct 4, 2020
bruce-dunwiddie added a commit that referenced this issue Nov 1, 2020
bruce-dunwiddie added a commit that referenced this issue Nov 27, 2020
@bruce-dunwiddie
Copy link
Owner

Columns are now returned in SELECT clause in latest version, https://www.nuget.org/packages/TSQL.Parser/2.0.0 .

More work still to be done to break out pieces of FROM, WHERE, and others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants