Skip to content

SqlQuery __dynamicIn to handle nested arrays #367

@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 );

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