query MyQuery {
queryProduct(filter: {has: name}) {
id
}
}
Please tell me a variable to this.
{"variables": {"filter": { "name": { "eq": "note" } }}}
- it is not right
Thanks in advance!!!
query MyQuery {
queryProduct(filter: {has: name}) {
id
}
}
Please tell me a variable to this.
{"variables": {"filter": { "name": { "eq": "note" } }}}
- it is not right
Thanks in advance!!!
Maybe something like this
query MyQuery($filter: ProductFilter) {
queryProduct(filter: $filter) {
id
}
}
{"variables": {"filter": { "name": { "eq": "note" } }}}
type Product {
id: ID!
name: String! @search(by:[hash])
quantity: Int!
availability: Boolean!
price: Float!
image_src: String!
category: [Category]
brand: Brand
specification: [About]
description_shot: String
description_long: String
}
With this query, I can organize a search for “hash” according to the given scheme?
It works! But it just returns “id” by “name”. I need a search.
If you have new questions/issues(unrelated to core of this one) we prefer that you create a new ticket.
Cheers.
ok.