For the complete documentation index, see llms.txt. This page is also available as Markdown.

44. म्यूटेशन: खेत लेबल्स सेट करें

"लेबल्स" को "फ़ील्ड" पर सेट करने के लिए म्यूटेशन। यह म्यूटेशन OVERWRITE मोड में काम करता है, जिसका अर्थ है कि प्रत्येक अनुरोध मौजूदा सभी लेबल्स को अनुरोध से आए लेबल्स से बदल देगा।

mutation SetFieldLabelsSample {
  setFieldLabels(
    input: {
      farmUuid: "<placeholder_of_farm_uuid>"
      uuid: "<placeholder_of_field_uuid>"
      labels: [{ name: "name1", value: "value1" }]
    }
  ) {
    uuid
    name
    labels {
      name
      value
    }
  }
}

अंतिम अपडेट

क्या यह उपयोगी था?