Skip to content

Placeholder $ character in prepared statements (SQL) is marked invalid #231

@CruzGil

Description

@CruzGil

When i parse prepared statement with sql parser, then the $ characters are marked as invalid.

For example:

INSERT INTO table (id, starttime, endtime) VALUES ($1, $2, $3)

Results in:
image

I expect the dollar characters to be valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions