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

  1. Back4App
  2. πŸ‡¨πŸ‡³ China
Public

1
17
1
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
21
22
query allCities {
      cities (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          country
          countryCode
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          muni
          muniSub
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "cities": {
      "results": [
        {
          "ACL": null,
          "adminCode": "14",
          "cityId": 1279749,
          "country": "China",
          "countryCode": "CN",
          "createdAt": "2019-12-12T19:09:29.092Z",
          "featureCode": "PPLA3",
          "id": "JOQAnQ00uf",
          "location": {
            "latitude": 28.63333,
            "longitude": 87.08333
          },
          "muni": null,
          "muniSub": null,
          "name": "XΓͺgar",
          "population": 0,
          "updatedAt": "2019-12-12T19:09:29.092Z"
        },
        {
          "ACL": null,
          "adminCode": "13",
          "cityId": 1279564,
          "country": "China",
          "countryCode": "CN",
          "createdAt": "2019-12-12T19:09:29.092Z",
          "featureCode": "PPLA3",
          "id": "MwfHC9hzD4",
          "location": {
            "latitude": 39.23938,
            "longitude": 76.76432
          },
          "muni": null,
          "muniSub": null,
          "name": "Yopurga",
          "population": 0,
          "updatedAt": "2019-12-12T19:09:29.092Z"
        },
        {
          "ACL": null,
          "adminCode": "14",
          "cityId": 1279531,
          "country": "China",
          "countryCode": "CN",
          "createdAt": "2019-12-12T19:09:29.091Z",
          "featureCode": "PPLA3",
          "id": "HgTdftsJZW",
          "location": {
            "latitude": 31.85,
            "longitude": 93.66667
          },
          "muni": null,
          "muniSub": null,
          "name": "Zaindainxoi",
          "population": 0,
          "updatedAt": "2019-12-12T19:09:29.091Z"
        }
      ]
    }
  }
}