You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think CASE statements are generally more readable when there's a line break before every AND/OR, so I'd prefer the formatter not to collapse these all to one line. For the long function expression, having a max_line_length after which it would add a line break before every + or other operator would be very nice to have also, so the output would be like
Suppose I have a query like this:
When I run
sqlparse.format(sql, reindent_aligned=True)
, I get this:I think
CASE
statements are generally more readable when there's a line break before everyAND
/OR
, so I'd prefer the formatter not to collapse these all to one line. For the long function expression, having a max_line_length after which it would add a line break before every+
or other operator would be very nice to have also, so the output would be likeThe text was updated successfully, but these errors were encountered: