This Visual Studio Code extension provides an interface for sql-lint. Enabled on SQL language mode.
sql-lint
will do sanity checks on your queries as well as bring errors back from the DB. If you worry about forgetting WHEREs on a DELETE or borking your data with unexpected characters, then sql-lint
is for you.
This extension contributes the following settings:
sql-lint.driver
: database driver mysql|postgressql-lint.host
: database domain namesql-lint.user
: database usernamesql-lint.password
: database password