Skip to content

SqlQuery __dynamicIn to handle nested arrays #367

Open
@GuyLagasse

Description

@GuyLagasse

It would be nice to be able to pass in nested arrays to :__dynamicIn

$dynamicInMap = [
    [1, 100],
    [2, 100],
    [5, 100]    
];
SELECT * FROM orders
WHERE (product_id, customer_id) IN ( :__dynamicIn );

Activity

self-assigned this
on Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

    Participants

    @g105b@GuyLagasse

    Issue actions

      SqlQuery __dynamicIn to handle nested arrays · Issue #367 · phpgt/Database