Update README.md
This commit is contained in:
parent
a63b373bae
commit
cd79c1305c
@ -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(),
|
||||
...
|
||||
]
|
||||
})
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user