sql-where-parser
sql-where-parser copied to clipboard
Parses an SQL-like WHERE string into various forms.
Results
2
sql-where-parser issues
Sort by
recently updated
recently updated
newest added
Is there a way to diffrentiate between an identifier and value? for example in case of `a=1 and 2=b or c='abc'` a, b and c are identifiers and 1, 2,...
var SqlWhereParser = require("sql-where-parser") const config = SqlWhereParser.defaultConfig; // start off with the default config. config.tokenizer.shouldTokenize.push('NOT LIKE'); var sql = "(HIERARCHY not like '%[ASD|41]%' And HIERARCHY not like '%[SEF|29]%')"; const...