There are several SQL dialects that this project can eventually cover:
- MariaDB 10.2.13 / MySQL 5.7
- PostgreSQL
- MSSQL
- Oracle
You are welcome to contribute on the development to other dialects.
SQL Parser:
- CREATE DATABASE
- CHARACTER SET
- COLLATION
- CREATE TABLE
- COLUMN DEFINITIONS / KEYS / INDEX
- CREATE TABLE OPTIONS
- CREATE TABLE LIKE
- CREATE INDEX
- ALTER DATABASE
- ALTER TABLE
- DROP DATABASE
- DROP INDEX
- DROP TABLE
- RENAME TABLE
Postparser, JSON formatter:
- Compact JSON format
- JSON Schema format
More complex features are not priority, as they require parsing SELECT statements or expressions* ...
CREATE TABLE AS (EXPRESSION)
*CREATE TABLE GENERATED AS (EXPRESSION)
columnsCREATE TABLE
partition optionsCREATE VIEW
ALTER VIEW
DROP VIEW
CHECK CONSTRAINTS
**- Expressions as column default values (MariaDB only)
* https://dev.mysql.com/doc/refman/5.7/en/expressions.html
** https://mariadb.com/kb/en/library/constraint/
TBD - you are welcome to contribute!
TBD - you are welcome to contribute!
TBD - you are welcome to contribute!