js-sql-parser
js-sql-parser copied to clipboard
Enable evaluating "||"
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
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