simple-ddl-parser icon indicating copy to clipboard operation
simple-ddl-parser copied to clipboard

Column comments into dicts

Open erwin-frohsinn opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Comments on Columns like the following are parsed, but into a list instead of a dict with column name as key: comment on column pole.t_spiel.refprodid is 'Verweis auf die Produktion';

Describe the solution you'd like All column related comments should be parsed into a dict, e.g.: {'pole.t_spiel.refprodid': 'Verweis auf die Produktion';', ...}

erwin-frohsinn avatar Jul 07 '24 09:07 erwin-frohsinn

@erwin-frohsinn, thanks for opening this issue. Sorry for the long delay with replay, I will try to take look on it soon as possible. As I understand you talk about statements like this https://postgrespro.ru/docs/postgresql/9.4/sql-comment?

xnuinside avatar Jul 28 '24 19:07 xnuinside