sql-where-parser icon indicating copy to clipboard operation
sql-where-parser copied to clipboard

unable to tokenize for operator "NOT LIKE"

Open ashishdhyani opened this issue 6 years ago • 0 comments

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 parser = new SqlWhereParser(config); const parsed = parser.parse(sql);

return parsed;

ashishdhyani avatar Apr 10 '18 01:04 ashishdhyani