How can I replace “some” parameter in GRAPHQL query?

How can I replace “some” parameter in GRAPHQL query?


0

I’ve the follow query and I wanna get only one result of siteAttributeValues that will be regarding to search in "variables". What can I use instead of some in my query?

{ "query": "query($search: String!){rn sites(take: 10, where: { siteAttributeValues: { some: { stringValue: { like: $search } } } }){rn items{rn idrn namern siteAttributeValues{ rn idrn stringValuern } }rn }rn}", "variables": {search: "%test-erp2%"} }

Thank you

I need to find out the problem

Share

New contributor

zhustav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


Load 7 more related questions


Show fewer related questions

0

Reset to default



Browse other questions tagged

or ask your own question.

Leave a Reply

Your email address will not be published. Required fields are marked *