Skip to content

SqlQuery __dynamicIn to handle nested arrays #367

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNon-breaking improvements to existing behaviour

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions