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

  1. Back4App
  2. 🇦🇮 Anguilla
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": "11205439",
          "cityId": 3573375,
          "country": "Anguilla",
          "countryCode": "AI",
          "createdAt": "2019-12-12T18:46:34.800Z",
          "featureCode": "PPLA",
          "id": "phS54K3wGS",
          "location": {
            "latitude": 18.20799,
            "longitude": -63.04178
          },
          "name": "The Quarter",
          "population": 0,
          "updatedAt": "2019-12-12T18:46:34.800Z"
        },
        {
          "ACL": null,
          "adminCode": "11205437",
          "cityId": 3573364,
          "country": "Anguilla",
          "countryCode": "AI",
          "createdAt": "2019-12-12T18:46:34.799Z",
          "featureCode": "PPLA",
          "id": "N2yqz5wV2b",
          "location": {
            "latitude": 18.17191,
            "longitude": -63.14941
          },
          "name": "West End Village",
          "population": 0,
          "updatedAt": "2019-12-12T18:46:34.799Z"
        },
        {
          "ACL": null,
          "adminCode": "11205392",
          "cityId": 3573407,
          "country": "Anguilla",
          "countryCode": "AI",
          "createdAt": "2019-12-12T18:46:34.800Z",
          "featureCode": "PPLA",
          "id": "2UwY1FTIbG",
          "location": {
            "latitude": 18.20118,
            "longitude": -63.08998
          },
          "name": "Sandy Ground Village",
          "population": 274,
          "updatedAt": "2019-12-12T18:46:34.800Z"
        }
      ]
    }
  }
}