graphql-engine
graphql-engine copied to clipboard
jsonb.path query - how do we query for all items in the array?
https://hasura.io/docs/1.0/graphql/manual/api-reference/graphql-api/query.html#simple-object
This returns 1 element:
contacts(path: "[0].phone") # scalar JSON field -> array_item_property
Want to return all phone numbers
contacts(path: "[*].phone") # scalar JSON field -> array_item_property
returns this error
parse json path error: [*].phone. Accept letters, digits, underscore (_) or hyphen (-) only. Use single quotes enclosed in bracket (['...']) if there is any special character
This is not supported yet but we will be happy to take it up in a future release.
Hey friends! Any news about?
+1
+1
this is a very useful feature if JSONB can be filtered and iterated
that would be amazing
+1 on this, any update on this one?
+1 any update?
The same issue. Please!