Skip to content

Commit 71091bd

Browse files
committed
chore: parser.parse completed.
1 parent e004a1c commit 71091bd

File tree

4 files changed

+351
-168
lines changed

4 files changed

+351
-168
lines changed

README.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,29 @@
11
# js-sql-parser
22

3-
> parse sql in js.
3+
> parse sql (select grammar) in js.
44
55
[![Build Status][travis-image]][travis-url]
66
[![NPM Version][npm-image]][npm-url]
77
[![NPM Downloads][downloads-image]][downloads-url]
88

99
sql grammar follows https://dev.mysql.com/doc/refman/5.7/en/select.html
1010

11+
12+
## TODO
13+
14+
- ${value} like value place holder support.
15+
- parser.stringify(ast)
16+
1117
## unsupport currently
1218

1319
- Hexadecimal Literals as x'01af' X'01af', but 0x01af is supported.
1420
- keyword COLLATE.
1521
- parammarker: keyword PREPARE / EXECUTE / DEALLOCATE
1622
- variable: keyword SET / CREATE PROCEDURE / CREATE FUNCTION
1723
- 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
2027

2128
## commonjs usage
2229

0 commit comments

Comments
 (0)