2. Query: Get "Fields"
A simple example of a "Fields" query that retrieves the area in hectares.
query GetFieldInHectares {
getFarms (farmUuids: ["<placeholder_of_farm_uuid>"]){
uuid
userUuid
name
fields {
uuid
name
area(unit: HECTARES)
}
}
}
Last updated
Was this helpful?