feat(): unicode extended char support for column name or alias by luizzappa · Pull Request #58 · JavaScriptor/js-sql-parser
Repository navigation
feat(): unicode extended char support for column name or alias - #58
Merged
albin3 merged 2 commits into JavaScriptor:master from luizzappa:unicode-extended Nov 5, 2023
Merged
feat(): unicode extended char support for column name or alias #58 albin3 merged 2 commits into JavaScriptor:master from luizzappa:unicode-extended
Conversation
luizzappa commented Oct 22, 2023
Copy link Copy Markdown
Contributor
Currently, you cannot name (or alias) a column with certain Latin characters without using quotes, even though this is supported by MySQL syntax . In this PR, I added this.
Parser error :
Permitted characters in unquoted identifiers:
- ASCII: [0-9,a-z,A-Z$_] (basic Latin letters, digits 0-9, dollar, underscore)
- Extended: U+0080 .. U+FFFF
luizzappa
force-pushed
the
unicode-extended
branch
2 times, most recently
from
31faa6a to
c4b243e
Compare
October 22, 2023 18:20
luizzappa commented Oct 22, 2023
Copy link Copy Markdown
Contributor
Author
|
Sorry for the force, there was code that wasn't supposed to be committed |
albin3 commented Oct 31, 2023
Copy link Copy Markdown
Member
|
hi, @luizzappa thanks for the pr, it is a serious problem. Could you update this pr like this:
|
feat(): unicode extended char support for column name or alias
199a1c6
Merge branch 'master' of github.com:JavaScriptor/js-sql-parser into u...
1064642
...nicode-extendedluizzappa force-pushed the unicode-extended branch from
3ff5bc5 to
1064642
Compare
November 2, 2023 20:53
luizzappa commented Nov 2, 2023
Copy link Copy Markdown
Contributor
Author
|
@albin3 , Done. In my first commit I had indented the other lines to maintain the formatting, with this smaller pattern suggested by you I didn't need to do that, thanks. |
View reviewed changes
albin3 left a comment
Copy link Copy Markdown
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more .
LGTM
albin3 commented Nov 5, 2023
Copy link Copy Markdown
Member
|
hi @luizzappa , lGTM. |
ca3c259
into
JavaScriptor : master
Nov 5, 2023
albin3 commented Apr 3, 2024
Copy link Copy Markdown
Member
|
released at |