|
8 | 8 |
|
9 | 9 | sql grammar follows https://dev.mysql.com/doc/refman/5.7/en/select.html
|
10 | 10 |
|
11 | | - |
12 | | -## TODO |
13 | | - |
14 | | -- ${value} like value place holder support. |
15 | | -- benchmark |
16 | | - |
17 | | -## unsupport currently |
18 | | - |
19 | | -- Hexadecimal Literals as x'01af' X'01af', but 0x01af is supported. |
20 | | -- keyword COLLATE. |
21 | | -- parammarker: keyword PREPARE / EXECUTE / DEALLOCATE |
22 | | -- variable: keyword SET / CREATE PROCEDURE / CREATE FUNCTION |
23 | | -- identifier expr: ODBC escape syntax |
24 | | -- matchexpr: Full-Text Search Functions. // to support |
25 | | -- intervalexpr: Date INTERVAL keyword. // to support |
26 | | -- into outfile: INTO OUTFILE keyword. // to support |
27 | | - |
28 | 11 | ## commonjs usage
|
29 | 12 |
|
30 | 13 | `npm install --save js-sql-parser`
|
@@ -52,10 +35,25 @@ var ast = sqlParser.parse('select * from dual');
|
52 | 35 | var sql = sqlParser.stringify(ast);
|
53 | 36 | ```
|
54 | 37 |
|
55 | | -## AMD support |
| 38 | +## AMD supported |
56 | 39 |
|
57 | 40 | ...
|
58 | 41 |
|
| 42 | +## unsupported grammar currently |
| 43 | + |
| 44 | +- Hexadecimal Literals as x'01af' X'01af', but 0x01af is supported. |
| 45 | +- keyword COLLATE. |
| 46 | +- parammarker: keyword PREPARE / EXECUTE / DEALLOCATE |
| 47 | +- variable: keyword SET / CREATE PROCEDURE / CREATE FUNCTION |
| 48 | +- identifier expr: ODBC escape syntax |
| 49 | +- matchexpr: Full-Text Search Functions. // to support |
| 50 | +- intervalexpr: Date INTERVAL keyword. // to support |
| 51 | +- into outfile: INTO OUTFILE keyword. // to support |
| 52 | + |
| 53 | +## TODO |
| 54 | + |
| 55 | +- ${value} like value place holder support. |
| 56 | + |
59 | 57 | ## LICENSE
|
60 | 58 |
|
61 | 59 | MIT
|
|
0 commit comments