maddyblue / sqlfmt

SQL formatter with width-aware output
https://sqlfum.pt
Apache License 2.0
417 stars 22 forks source link

support placeholder #67

Closed shenyifu closed 1 year ago

shenyifu commented 1 year ago

it do not support placeholder in sql like

select * from users where username = ?

the response now is at or near "?": syntax error

maddyblue commented 1 year ago

sqlfmt supports postgres syntax. ? is not a valid postgres placeholder.