forward / sql-parser

A SQL parser written in pure JS
MIT License
531 stars 132 forks source link

No support for column names with brackets '(' #25

Open mkaushik10 opened 8 years ago

mkaushik10 commented 8 years ago

Hi, I am trying to use the query-builder for my project. I have database table with columns like 'Result(1/0)'. When I pass this to query-builder as query, it is not able to parse it and gives error. I tried [Result(1/0)] = 0and Result(1/0) = 0. Can you please suggest how to add this in the lexer to support this or add it. Thanks.