sql_formatter
sql_formatter copied to clipboard
Comma position when eliciting columns
Is your feature request related to a problem? Please describe
Currently, when eliciting columns, comma is added at the end of the column name.
Describe the solution you'd like
I would like to be able to format my queries like this:
select userid
, is_active
, email_address
from user
this is handy when adding new columns to the result set, then the diff in cvs is affecting only one row instead of 2 (previous row comma, plus new line new column). Also, it's much easier to quickly comment-out columns by adding -- and not having to touch the previous line.