Re:Sqlfmt: an opinionated online SQL formatter
by egorfine on Friday September 28, 2018 @07:21AM
(#18092509)
I understand it about placeholders. Fair enough. I can do quick s/\?/\$1/g, no prob.
Still how about not lowercasing identifiers? This is actually a blocker, I'm sure you see it:)
Re:Sqlfmt: an opinionated online SQL formatter
by crooked-v on Thursday September 27, 2018 @08:46PM
(#18090144)
Consider those of us stuck with Java adapters to Postgres, which means Postgres syntax but ? for placeholders.
Re:Sqlfmt: an opinionated online SQL formatter
by mjibson on Thursday September 27, 2018 @10:45PM
(#18090596)
Is that a thing? The Java driver must actually parse those and convert them. Java is crazy. https://github.com/mjibson/sqlfmt/issues/25 is the issue to track '?' as placeholders.
sqlfmt is not super useful for non-postgres grammars.