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

  1. Back4App
  2. 🇦🇴 Angola
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": "06",
          "cityId": 3346015,
          "country": "Angola",
          "countryCode": "AO",
          "createdAt": "2019-12-12T18:47:33.587Z",
          "featureCode": "PPLA",
          "id": "gp6XsOQlhL",
          "location": {
            "latitude": -11.20605,
            "longitude": 13.84371
          },
          "name": "Sumbe",
          "population": 33277,
          "updatedAt": "2019-12-12T18:47:33.587Z"
        },
        {
          "ACL": null,
          "adminCode": "06",
          "cityId": 3346598,
          "country": "Angola",
          "countryCode": "AO",
          "createdAt": "2019-12-12T18:47:33.587Z",
          "featureCode": "PPL",
          "id": "YE5CHEKl7D",
          "location": {
            "latitude": -10.73366,
            "longitude": 14.97995
          },
          "name": "Quibala",
          "population": 8915,
          "updatedAt": "2019-12-12T18:47:33.587Z"
        },
        {
          "ACL": null,
          "adminCode": "18",
          "cityId": 145531,
          "country": "Angola",
          "countryCode": "AO",
          "createdAt": "2019-12-12T18:47:33.587Z",
          "featureCode": "PPLA",
          "id": "eLHU0W8zFR",
          "location": {
            "latitude": -9.66078,
            "longitude": 20.39155
          },
          "name": "Saurimo",
          "population": 40498,
          "updatedAt": "2019-12-12T18:47:33.587Z"
        }
      ]
    }
  }
}