This repository was archived by the owner on Jul 15, 2021. It is now read-only.
Commit 10fdc52
committed
new specs for WITH clause with recursive table expressions. added new methods in parser-util.js to reduce repeated code: keyify(), textMerge(), and listify(). fixed bind parameter rules and AST so that a named tcl parameter can still have an alias. changed the format for INSERT, WITH, and FOREIGN KEY when using a table name versus a table expression name with a column list. JOIN rules so that USING clause can be followed by column names enclosed in parenthesis as the previous rule was not the correct behavior. JOIN AST modified to have a constraint property, instead of on and using, as a join can only have one of these constraints at a time. many places in the AST that previously had a string value in the name property, such as the into property of an INSERT statement, now instead have a node of type identifier. FOREIGN KEY constraints now have a references property that contains an expression identifier or a table identifier depending on the query instead of the target, columns, and name properties. several property values are now being normalized to lowercased strings instead of being passed unmodified to the AST. for example, the action property of action node now contains a lowercased value. removed redundant rules that pointed to name rule, such as name_function, name_view, and name_trigger. unquoted identifiers are now normalized to lowercased strings as per the SQL-92 standard. quoted identifiers are not normalized. now preventing FOUC when first loading the demo page. also allowing cursor focus on Syntax Tree editor so that the contents can be selected and copied to the clipboard. refs #2
1 parent f4a4a48 commit 10fdc52
18 files changed
Lines changed: 4507 additions & 4866 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
42 | 92 | | |
43 | 93 | | |
44 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments