Skip to content

unable to tokenize for operator "NOT LIKE" #1

@ashishdhyani

Description

@ashishdhyani

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions