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

  1. Back4App
  2. πŸ‡ΊπŸ‡¬ Uganda
Public

10
10
10
10
  • 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": "E",
          "cityId": 226234,
          "country": "Uganda",
          "countryCode": "UG",
          "createdAt": "2019-12-14T02:45:28.101Z",
          "featureCode": "PPLA2",
          "id": "bK0aIwPFM5",
          "location": {
            "latitude": 1.71464,
            "longitude": 33.61113
          },
          "muni": "7732234",
          "muniSub": "8658138",
          "name": "Soroti",
          "population": 56400,
          "updatedAt": "2019-12-14T02:45:28.101Z"
        },
        {
          "ACL": null,
          "adminCode": "E",
          "cityId": 226267,
          "country": "Uganda",
          "countryCode": "UG",
          "createdAt": "2019-12-14T02:45:28.101Z",
          "featureCode": "PPLA2",
          "id": "B9GFwJIUvB",
          "location": {
            "latitude": 1.23132,
            "longitude": 34.24773
          },
          "muni": "7869959",
          "muniSub": "8658115",
          "name": "Sironko",
          "population": 14000,
          "updatedAt": "2019-12-14T02:45:28.101Z"
        },
        {
          "ACL": null,
          "adminCode": "E",
          "cityId": 226110,
          "country": "Uganda",
          "countryCode": "UG",
          "createdAt": "2019-12-14T02:45:28.101Z",
          "featureCode": "PPLA2",
          "id": "50vdOyQRyz",
          "location": {
            "latitude": 0.69299,
            "longitude": 34.18085
          },
          "muni": "7732077",
          "muniSub": "8658143",
          "name": "Tororo",
          "population": 40400,
          "updatedAt": "2019-12-14T02:45:28.101Z"
        }
      ]
    }
  }
}