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

is goqu expressive enough to use as an AST backend ? #381

Open
forrackun opened this issue Apr 2, 2023 · 1 comment
Open

is goqu expressive enough to use as an AST backend ? #381

forrackun opened this issue Apr 2, 2023 · 1 comment

Comments

@forrackun
Copy link

forrackun commented Apr 2, 2023

I have a somewhat stupid question. I want to parse some SQL query (just SELECT) and do some checks (simple transformation) and re-emit vendor specific dialect. i was thinking maybe I can offload vendor specific idiocracies to goqu by walking AST and calling goqu query builder thing.

any advice about how to achieve something like that. i am ok if some select statements are not 100 expressible. or is this idea stupid and i should just emit myself, maybe by using goqu/dialect as inspiration.

Thank you

@gcjininfo
Copy link

i hope here , this library could be a little more active. everyone is busy?

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

2 participants