From cd79c1305c2bcdf046554c00f5bdf15ef7f8c708 Mon Sep 17 00:00:00 2001 From: Kijin-Seija Date: Thu, 16 May 2024 09:51:17 +0800 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a4c376f..64c560f 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ Some node names in dt-sql-parser code are different from their antlr4's definiti You can find possible alias in https://github.com/DTStack/dt-sql-parser/blob/main/src/grammar/postgresql/PostgreSqlParser.g4, then add it into `alias` option. Example: + ![alt text](./assets/alias-example.png) @@ -86,7 +87,9 @@ Example: ```typescript const myPlugin = new DtSqlParserSemAnalysePlugin({ preprocessor: [ - (sql) => sql.toUpperCase() + (sql) => sql.toUpperCase(), + ... + ] }) ```