shssoichiro / sqlformat-rs

SQL Formatter written in Rust
Apache License 2.0
89 stars 26 forks source link

add a way to ignore lines from being formatted #26

Open zignis opened 1 year ago

zignis commented 1 year ago

Thanks for this tool! What I'm looking is something similar to --sqlformat-ignore cooment that ignores the next line. I'm trying to have a column named as "password", but it is being converted into uppercase:

https://github.com/shssoichiro/sqlformat-rs/blob/199715a7e4f531ee17ae15cd1c354aafab8d223b/src/tokenizer.rs#L736