sunary / sqlize

powerful SQL toolkit; offering parsing, building, and migration capabilities.
Other
97 stars 11 forks source link

Postgres SQL output incorrect. #29

Closed facefunk closed 1 year ago

facefunk commented 1 year ago

Hi,

Very nice project! I discovered sqlize on a reddit post while I was looking for a Go SQL parser implementation to incorporate into pgdiff.

Anyway, it seems the Postgres SQL output is currently still in-progress but you've done pretty much all the work already so a trivial fix is possible.

Would you be opposed to this patch? It completely fixes the issues for my current use case.

Thanks.

sunary commented 1 year ago

Thanks for your contribution,

I'm not familiar with the Postgres SQL so much, feel free if you have any issues with them, let me know or create any PR can fix your issues.

patch merged: https://github.com/sunary/sqlize/pull/30