Skip to content

Error matching in javascript target is wrong #107

@surister

Description

@surister
const query =
    `SELECT A
     FROM tbl1
     where;

    SELECT 1;

    SELECT B
    FROM tbl1
    WHERE;`
const stmt = sqlparse(query)

console.log(stmt[0].exception)

Results to null while it should be an exception.

This only happens in JS target, not python.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingjavascriptAbout the Javascript package

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions