pg-query-parser icon indicating copy to clipboard operation
pg-query-parser copied to clipboard

Deparse Create Statements

Open acmh opened this issue 8 years ago • 4 comments

Deparse "Create Table" Statements are not implemented or I'm doing anything wrong? Thank you for your time.

acmh avatar Feb 12 '17 18:02 acmh

Only SELECT deparsing is implemented so far. PR's welcome though!

zhm avatar Feb 13 '17 03:02 zhm

@zhm I'm working into this issue, what is the enum for contype attribute?

acmh avatar Feb 24 '17 02:02 acmh

I have a solution that covers a lot of cases here: https://github.com/zhm/pg-query-parser/pull/9

still some work left, but it will probably help for most cases if anyone needs it :)

pyramation avatar Aug 16 '17 01:08 pyramation

so the PR is now green - could close this if merged :)

pyramation avatar Mar 01 '18 06:03 pyramation