Open esetnik opened 6 years ago
Thanks for raising this - it looks like a valid request. We'll see whether it's possible to address this when working on formatter issues in the future (and I'll forward on to some people investigating improved formatting support).
I'm also tagging this as help wanted
as it's a good candidate for community contribution.
Thank you. I don't have time to work on a solution at the moment, but I appreciate the community effort.
Hi, is this issue solved ? i'm facing the same need in WHERE CLASUES, difficult to read. I use this formatter every day at work. Thanking in advance.
Steps to Reproduce:
A)
B)
A)
B)
Expected:
The behavior of various formatters varies, but this is consistent with https://www.freeformatter.com/sql-formatter.html. Without formatting where clauses in this manner complicated sql queries become impossible to read because the WHERE clause is collapsed into a long single line.