Enable evaluating "||" by eaallen · Pull Request #57 · JavaScriptor/js-sql-parser
Repository navigation
Enable evaluating "||" - #57
Open
eaallen wants to merge 1 commit into JavaScriptor:master from eaallen:enable--concat-with-"||"
Open
Enable evaluating "||" #57 eaallen wants to merge 1 commit into JavaScriptor:master from eaallen:enable--concat-with-"||"
Conversation
eaallen commented Oct 7, 2023
Copy link Copy Markdown
I realized that js SQL parser does not evaluate "||" as a bit expression. This is SQL standard: https://4js.com/online_documentation/fjs-fgl-manual-html/index.html#fgl-topics/c_fgl_sql_programming_099.html
enable evaluating "||"
6ce177e
albin3 commented Oct 17, 2023
Copy link Copy Markdown
Member
|
hi @eaallen '||' is an expr , and is supported here https://github.com/JavaScriptor/js-sql-parser/blob/master/src/sqlParser.jison#L426 ref: https://dev.mysql.com/doc/refman/5.7/en/expressions.html |