File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -28,39 +28,9 @@ ast.value.selectItems.value[0].value = 'foo';
2828ast .value .from .value [0 ].value .value .value = ' bar' ;
2929
3030console .log (parser .stringify (ast));
31- // TODO
3231// SELECT foo FROM bar
3332```
3433
35- ## script tag
36-
37- ``` js
38- < script src= " ./dist/parser/sqlParser.js" >< script/ >
39-
40- var sqlParser = window .sqlParser ;
41- var ast = sqlParser .parse (' SELECT * FROM Samples."samples.dremio.com"."zips.json"' );
42- var sql = sqlParser .stringify (ast);
43- ```
44-
45- ## AMD supported
46-
47- ...
48-
49- ## unsupported grammar currently
50-
51- - Hexadecimal Literals as x'01af' X'01af', but 0x01af is supported.
52- - keyword COLLATE.
53- - parammarker: keyword PREPARE / EXECUTE / DEALLOCATE
54- - variable: keyword SET / CREATE PROCEDURE / CREATE FUNCTION
55- - identifier expr: ODBC escape syntax
56- - matchexpr: Full-Text Search Functions. // to support
57- - intervalexpr: Date INTERVAL keyword. // to support
58- - into outfile: INTO OUTFILE keyword. // to support
59-
60- ## TODO
61-
62- - ${value} like value place holder support.
63-
6434## Build
6535
6636- Run ` npm run build ` to build the distributable.
You can’t perform that action at this time.
0 commit comments