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

  1. Back4App
  2. šŸ‡µšŸ‡° Pakistan Cities
Public

53
96
53
96
  • 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": "04",
          "cityId": 1162572,
          "country": "Pakistan",
          "countryCode": "PK",
          "createdAt": "2019-12-13T15:05:00.742Z",
          "featureCode": "PPL",
          "id": "0kHYfBQmjp",
          "location": {
            "latitude": 31.54514,
            "longitude": 73.82891
          },
          "muni": null,
          "muniSub": null,
          "name": "Chak Five Hundred Seventy-five",
          "population": 24295,
          "updatedAt": "2019-12-13T15:05:00.742Z"
        },
        {
          "ACL": null,
          "adminCode": "03",
          "cityId": 1162261,
          "country": "Pakistan",
          "countryCode": "PK",
          "createdAt": "2019-12-13T15:05:00.741Z",
          "featureCode": "PPL",
          "id": "wbVN82Wjtn",
          "location": {
            "latitude": 34.0595,
            "longitude": 72.4669
          },
          "muni": null,
          "muniSub": null,
          "name": "Zaida",
          "population": 26787,
          "updatedAt": "2019-12-13T15:05:00.741Z"
        },
        {
          "ACL": null,
          "adminCode": "04",
          "cityId": 1162456,
          "country": "Pakistan",
          "countryCode": "PK",
          "createdAt": "2019-12-13T15:05:00.742Z",
          "featureCode": "PPL",
          "id": "AAdeUf7cac",
          "location": {
            "latitude": 32.44324,
            "longitude": 74.12
          },
          "muni": null,
          "muniSub": null,
          "name": "Wazīrābād",
          "population": 102444,
          "updatedAt": "2019-12-13T15:05:00.742Z"
        }
      ]
    }
  }
}