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

[Help] AST format documentation #1767

Open
LRagji opened this issue Jan 25, 2024 · 4 comments
Open

[Help] AST format documentation #1767

LRagji opened this issue Jan 25, 2024 · 4 comments

Comments

@LRagji
Copy link

LRagji commented Jan 25, 2024

Apologies if this is already mentioned anywhere, but i dont see the AST nodes documented anywhere i understand node can be recursive.. but there has to be hand full of ast node types with their props defined?
The reason for this question is cause i want to manupilate the AST basically break select join queries of multiple tables into simple select queries for each table with where clause... cant find any documentation around different nodes types and their props.....

Thanks

@gtowey-air
Copy link

+1 to this; the lack of documentation means I'm pretty much guessing when it comes to how to look at an AST here.

@isomx
Copy link

isomx commented Apr 4, 2024

+1 as well. I'm super appreciative of this library, but you're honestly shooting in the dark with it. I've even tried going through the code/type definitions. But not helpful. I'd offer to help add docs of what I've managed to piece together about it, but just when I think I'm getting it, there's a gotcha. So I'm nowhere near confident that my interpretation of how it works is accurate. I'm not using it in anything mission critical, so not the end of the world for me. But that said, I don't know how you could actually use this in a mission critical situation since there's absolutely no way you could know you've covered the bases.

@aok-solutions
Copy link

the type definitions have been pretty helpful for me

@DemonHa
Copy link
Contributor

DemonHa commented Apr 13, 2024

Improving type definitions is a must in improving DX

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

No branches or pull requests

5 participants