goqu
goqu copied to clipboard
is goqu expressive enough to use as an AST backend ?
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
i hope here , this library could be a little more active. everyone is busy?