File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,9 @@ The plugin provides the following parsers:
8989
9090- ` sqlite `
9191- ` bigquery `
92+ - ` postgresql ` (** experimental! expect crashes** )
93+ - ` mysql ` (** experimental! expect crashes** )
94+ - ` mariadb ` (** experimental! expect crashes** )
9295
9396## Configuration
9497
@@ -107,6 +110,18 @@ Currently this plugin supports two SQL dialects:
107110- ** SQLite** - full support.
108111- ** BigQuery** - full support.
109112
113+ It also has experimental support for the following dialects:
114+
115+ - PostgreSQL
116+ - MySQL
117+ - MariaDB
118+
119+ The main limitation is that [ the parser] [ sql-parser-cst ] does not support full syntax of
120+ these dialects. One should expect the parser to crash for syntax that's more specific to
121+ these dialects. But as long as the parsing succeeds, the formatting should also succeed.
122+ Mainly one can expect the formatting of SELECT statements to work. But beyond that you should
123+ keep your expectations low. You have been warned.
124+
110125The specifics of the [ SQL formatting style] [ STYLE_GUIDE ] are still very much subject to change.
111126Though the general principles should be mostly in place by now.
112127
You can’t perform that action at this time.
0 commit comments