Closed takecchi closed 8 months ago
This should be reported to https://github.com/sql-formatter-org/sql-formatter instead.
cc @nene
And it seems we are outdated now, sql-formatter
v13 has been released, PR welcome to upgrade it and test your failing case.
Such meta-commands aren't supported for any SQL dialect by SQL Formatter. Currently there's also no plan to support them either.
Though one could again work around this limitation by using the paramTypes workaround. at least for the simple stuff like \connect
. No luck for something like changing the delimiter character.
I understand that meta-commands are not supported. Thank you for suggesting a workaround! It seems like it will work well.
https://github.com/un-ts/prettier/issues/233#issuecomment-1803331128
paramTypes
will be supported soon.
It seems to produce an error when using PostgreSQL commands like
\c
or\connect
.test-docker/test-db/init/01_init.sql
traceback:
Do you have any workaround or plans to support it?