squawk icon indicating copy to clipboard operation
squawk copied to clipboard

Support for automatically fixing errors.

Open Legion112 opened this issue 3 years ago • 2 comments

I don't wanna fix those errors myself becouse usually this kind of error could be fixed automatically.

16:	ALTER TABLE some_table_name drop constraint if exists constrain_name; <-- uses lowercase SQL keyword: 'constraint', use 'CONSTRAINT' please
16:	ALTER TABL some_table_name drop constraint if exists constrain_name; <-- uses lowercase SQL keyword: 'if exists', use 'IF EXISTS' please
ERROR: File should ends with ONLY ONE newline!!!

Legion112 avatar Apr 27 '22 13:04 Legion112

Like a code formatter but for SQL?

Or would it also be non-formatter and extend into changing the actual meaning of the SQL?

sbdchd avatar Aug 24 '22 02:08 sbdchd