pimcore / data-hub

Data delivery & consumption platform for Pimcore.
Other
126 stars 108 forks source link

Feature Request: Filter with Array #223

Open vinitchopra12 opened 4 years ago

vinitchopra12 commented 4 years ago

Hello,

I am looking for the solution where I can filter the query with mutliple field records in GrapQL.

Eg: I want to get the products based on the SKU field at a time.

{
    getProductListing(defaultLanguage: "en", filter: "{\"sku\":  {\"$in\":  [\"AB-001\", \"CD-002\", \"EF-003\"]}}"){
    }
}

Is there any way to achieve this. Please advice.

Thanks,

NiklasBr commented 4 years ago

It is not, I requested such a feature but that issue was closed: https://github.com/pimcore/data-hub/issues/81#issuecomment-508493203

weisswurstkanone commented 4 years ago

What is the difference to https://github.com/pimcore/data-hub/issues/189 ?

rajesh17692 commented 4 years ago

Also, FIND_IN_SET should be handled to support Advance Many to Many filters where we can pass multiple IDS for this type of relation in the filter

github-actions[bot] commented 9 months ago

Thanks a lot for reporting the issue. We did not consider the issue as "Pimcore:Priority", "Pimcore:ToDo" or "Pimcore:Backlog", so we're not going to work on that anytime soon. Please create a pull request to fix the issue if this is a bug report. We'll then review it as quickly as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request. We'll then decide whether we'd accept it or not. Thanks for your understanding.