David-Wobrock / sqlvalidator

SQL queries formatting, syntactic and semantic validation

Home Page:https://pypi.org/project/sqlvalidator/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement automatic 'SELECT' detection

David-Wobrock opened this issue · comments

Currently to format a SQL string, you need to mark it with # sqlformat comment (so that it's easy to not format a SQL string when the sqlvalidator is buggy).

We should also be able to automatically let the SELECT statements be formatted (and have a comment to not format some)

But should we have both ways or just stick to one?