Skip to content

prepared_statement_bind_values about binding Array #37

@Memento1990

Description

@Memento1990

When i bind an array like [1,2,3,4] into prepared_statement_bind_values, the real executing sql is '1,2,3,4'. That's bad news for IN in sql.

What i want:

select .... where somefield IN (1,2,3,4)

But:

select ... where somefield IN('1,2,3,4')

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