mybatis-mapper
mybatis-mapper copied to clipboard
please add the "mysql" in Format language parameter
Hi guys. I found a small bug while using your module. If a query include '!=' and invoke getStatement with Format paramet (language "sql") , it's transpiled to "! =". So I met the syntax error because of '! ='. it should be '!=' (the space between ! and = should be removed) in mysql. I traced what happen if I pass "sql" in language parameter. and the sql formatter module in dependency list transpiled it like that. and I figure out that it's transpiled well if I pass "mysql" in langauge parameter by sql formatter. Simply, this bug will be gone if you guys put "mysql" keyword in language parameter whitelist. Thanks.
hello, could you please make pull requrst for this?