Skip to content

Queries with question mark placeholders (?) not valid anymore #41

@valichek

Description

@valichek

Queries with (?) are not valid since updated version from 1.1.6 to 1.1.7/1.1.8, doesn't depend on go version

SELECT id FROM my_table WHERE id IN (?);

Getting ERROR: syntax error at or near ")"

Another example:

SELECT * FROM my_table WHERE id = ? AND user_id IN (?);

Getting ERROR: syntax error at or near "AND"

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