sqlparse icon indicating copy to clipboard operation
sqlparse copied to clipboard

sqlformat: newline before comment gobbled up

Open jidanni opened this issue 4 years ago • 0 comments

SELECT bla,
-- here is a comment
-- and another

Well, at least with sqlformat --keywords upper --reindent --comma_first True --indent_columns --use_space_around_operators the first comment gets appended to bla,.

I.e., there is no way to keep first line of comments intact, on its own line.

jidanni avatar Aug 21 '21 06:08 jidanni