location

Arguments

ArgumentTypeRequiredDefaultDescription
idStringNo
nameStringNo
analyzeBooleanNo

If true, the query will only be analyzed (cost estimated) without executing it.

Return Type

LocationQueryResult

Query

query location(
  $id: String,
  $name: String,
  $analyze: Boolean
) {
  location(
    id: $id,
    name: $name,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...LocationFragment
    }
  }
}

Variables

{
  "id": "abc123",
  "name": "abc123",
  "analyze": true
}

Response

{
  "data": {
    "location": {
      "request_id": "abc123",
      "complexity": 987,
      "data": Location
    }
  }
}