GraphQL Map Results

Highlighted
Tourist
4 0 0

Hello,

i'am trying to get multiple Orders base on Order data.

Simple Exemple :

I would like GraphQL to return all Orders that has a product with 5 or less inventory.

Actually i'am able to use GraphQL to return me the product's inventory of an Order, but I would like to retrieve ONLY orders with products with less then 5 inventory.

I'm think of something very simple like the javascript Map function.

Thank you for the time you take to answer !

 

0 Likes