Skip to content

Improve IN statement for 3.0 release #161

@syrm

Description

@syrm

Hello,

I think we can improve the IN statement for 3.0 release.
Maybe allow this syntax :
$query->where('user_Id IN (?)', [1, 2, 3, 4, 5]);

And the builder will expand the ? into ?, ?, ?, ?, ?

If this solution is ok for you i can make a PR.

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