diff --git a/README-zh_CN.md b/README-zh_CN.md index 503a25b..0125a49 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -21,14 +21,14 @@ dt-sql-parser 是一个基于 [ANTLR4](https://github.com/antlr/antlr4) 开发 **SQL 辅助方法支持** -| SQL 类型 | SQL 切割 | 自动补全 | +| SQL 类型 | SQL 切割 | 自动补全 | | ----------- | -------- | -------- | | Generic SQL | WIP | WIP | | Flink SQL | ✅ | ✅ | | Spark SQL | ✅ | ✅ | | Hive SQL | ✅ | ✅ | -| PL/SQL | WIP | WIP | -| Postgre SQL | WIP | WIP | +| PL/SQL | WIP | WIP | +| PostgreSQL | ✅ | ✅ | | Trino SQL | ✅ | ✅ | > 提示:当前的 Parser 是 `Javascript` 语言版本,如果有必要,可以尝试编译 Grammar 文件到其他目标语言 diff --git a/README.md b/README.md index e41d352..e8cf779 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ Additionally, it provides auxiliary functions such as **SQL splitting** and **co | Flink SQL | ✅ | ✅ | | Spark SQL | ✅ | ✅ | | Hive SQL | ✅ | ✅ | -| PL/SQL | WIP | WIP | -| Postgre SQL | WIP | WIP | +| PL/SQL | WIP | WIP | +| PostgreSQL | ✅ | ✅ | | Trino SQL | ✅ | ✅ | >Tips: This project is the default for Javascript language, also you can try to compile it to other languages if you need. @@ -68,13 +68,13 @@ We recommend learning the Fundamentals usage before continuing. The dt-sql-parse import { GenericSQL, FlinkSQL, SparkSQL, HiveSQL, PLSQL, PostgresSQL, TrinoSQL } from 'dt-sql-parser'; ``` -Before employing syntax validation, code completion, and other features, it is necessary to instantiate the Parser of the relevant SQL type. +Before using syntax validation, code completion, and other features, it is necessary to instantiate the Parser of the relevant SQL type. For instance, one can consider using `GenericSQL` as an example: ```javascript const parser = new GenericSQL(); ``` -The following usage examples will utilize the `GenericSQL`, and the Parser for other SQL types will be employed in a similar manner as `GenericSQL`. +The following usage examples will utilize the `GenericSQL`, and the Parser for other SQL types will be used in a similar manner as `GenericSQL`. ### Syntax Validation ```javascript