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

  1. Back4App
  2. 🇧🇮 Burundi
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
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": "09",
          "cityId": 428515,
          "country": "Burundi",
          "countryCode": "BI",
          "createdAt": "2019-12-12T18:55:25.557Z",
          "featureCode": "PPLA",
          "id": "dspKWcnrUq",
          "location": {
            "latitude": -3.0804,
            "longitude": 29.391
          },
          "name": "Bubanza",
          "population": 12728,
          "updatedAt": "2019-12-12T18:55:25.557Z"
        },
        {
          "ACL": null,
          "adminCode": "26",
          "cityId": 423549,
          "country": "Burundi",
          "countryCode": "BI",
          "createdAt": "2019-12-12T18:55:25.557Z",
          "featureCode": "PPLA",
          "id": "ueSp5n8OE5",
          "location": {
            "latitude": -3.9736,
            "longitude": 29.4386
          },
          "name": "Rumonge",
          "population": 6074,
          "updatedAt": "2019-12-12T18:55:25.557Z"
        },
        {
          "ACL": null,
          "adminCode": "23",
          "cityId": 423794,
          "country": "Burundi",
          "countryCode": "BI",
          "createdAt": "2019-12-12T18:55:25.557Z",
          "featureCode": "PPLA",
          "id": "9xly0pfZFq",
          "location": {
            "latitude": -3.51128,
            "longitude": 29.70334
          },
          "name": "Mwaro",
          "population": 4924,
          "updatedAt": "2019-12-12T18:55:25.557Z"
        }
      ]
    }
  }
}