purcell/sqlint

Feature request: support for mysql

mallt opened this issue · 2 comments

mallt commented

First of all thanks a lot for creating this linter!

It would be great if there would be support for the mysql syntax as well. Is there any chance this could be added? Thanks!

Hi! We use the pg_query gem for this, which embeds a copy of PostgreSQL's query parser. I'm not aware that there's an equivalent for MySQL's dialect of SQL, but if such a thing exists or gets written, then we'd be able to integrate it. It's not something I'm going to actively pursue on my own time, though, sorry.

mallt commented

Ok, thank you for the clarification!