File tree 4 files changed +351
-168
lines changed
4 files changed +351
-168
lines changed Original file line number Diff line number Diff line change 1
1
# js-sql-parser
2
2
3
- > parse sql in js.
3
+ > parse sql (select grammar) in js.
4
4
5
5
[ ![ Build Status] [ travis-image ]] [ travis-url ]
6
6
[ ![ NPM Version] [ npm-image ]] [ npm-url ]
7
7
[ ![ NPM Downloads] [ downloads-image ]] [ downloads-url ]
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
+ - parser.stringify(ast)
16
+
11
17
## unsupport currently
12
18
13
19
- Hexadecimal Literals as x'01af' X'01af', but 0x01af is supported.
14
20
- keyword COLLATE.
15
21
- parammarker: keyword PREPARE / EXECUTE / DEALLOCATE
16
22
- variable: keyword SET / CREATE PROCEDURE / CREATE FUNCTION
17
23
- identifier expr: ODBC escape syntax
18
- - matchexpr: Full-Text Search Functions. //to support
19
- - intervalexpr: Date INTERVAL keyword. //to support
24
+ - matchexpr: Full-Text Search Functions. // to support
25
+ - intervalexpr: Date INTERVAL keyword. // to support
26
+ - into outfile: INTO OUTFILE keyword. // to support
20
27
21
28
## commonjs usage
22
29
You can’t perform that action at this time.
0 commit comments