| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@eortiz-tracktik It's an identifier in code. https://github.com/JavaScriptor/js-sql-parser/blob/master/src/sqlParser.jison#L14 |
Sorry, something went wrong.
|
@albin3 thanks for the quick response. it('support quoted alias', function() {
testParser('select a as `A-A` from b limit 2;');
testParser('select a as `A#A` from b limit 2;');
testParser('select a as `A?A` from b limit 2;');
testParser('select a as `A/B` from b limit 2;');
testParser('select a as `A.A` from b limit 2;');
testParser('select a as `A|A` from b limit 2;');
testParser('select a as `A A` from b limit 2;');
});
I saw that there was already the concept of QUOTED_IDENTIFIER but was also limited to certain characters. |
Sorry, something went wrong.
|
@eortiz-tracktik you are right! thanks for this pr. 😺 |
Sorry, something went wrong.
|
v1.2.2 has released. |
Sorry, something went wrong.
|
Thanks a lot to you @albin3 for this awesome project! 👏 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
We are using this parser and we would like to be able to use quoted alias like on the tests.
Basically, anything quoted should be safe as a quoted identifier?
Thanks.