The Database Hub | Back4App
The Database Hub | Back4App
How it works
  • Log In
  • Sign Up

  1. Back4App
  2. 🇦🇲 Armenia
Public

12
17
12
17
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All Cities

This GraphQL query fetches All Cities


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
query allCities {
      cities (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          country
          countryCode
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "cities": {
      "results": [
        {
          "ACL": null,
          "adminCode": "02",
          "cityId": 174706,
          "country": "Armenia",
          "countryCode": "AM",
          "createdAt": "2019-12-12T18:47:13.838Z",
          "featureCode": "PPL",
          "id": "qbum97YBdv",
          "location": {
            "latitude": 39.90832,
            "longitude": 44.73328
          },
          "name": "Goravan",
          "population": 2238,
          "updatedAt": "2019-12-12T18:47:13.838Z"
        },
        {
          "ACL": null,
          "adminCode": "08",
          "cityId": 174717,
          "country": "Armenia",
          "countryCode": "AM",
          "createdAt": "2019-12-12T18:47:13.839Z",
          "featureCode": "PPL",
          "id": "kEVks62Qk0",
          "location": {
            "latitude": 39.53543,
            "longitude": 46.32063
          },
          "name": "Verishen",
          "population": 2114,
          "updatedAt": "2019-12-12T18:47:13.839Z"
        },
        {
          "ACL": null,
          "adminCode": "02",
          "cityId": 174775,
          "country": "Armenia",
          "countryCode": "AM",
          "createdAt": "2019-12-12T18:47:13.839Z",
          "featureCode": "PPL",
          "id": "xcqtLMHtCk",
          "location": {
            "latitude": 39.94171,
            "longitude": 44.57233
          },
          "name": "Shahumyan",
          "population": 3905,
          "updatedAt": "2019-12-12T18:47:13.839Z"
        }
      ]
    }
  }
}