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

  1. Back4App
  2. 🇧🇲 Bermuda
Public

11
12
11
12
  • 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": 3573061,
          "country": "Bermuda",
          "countryCode": "BM",
          "createdAt": "2019-12-12T18:56:09.478Z",
          "featureCode": "PPL",
          "id": "vDRbLGTuVY",
          "location": {
            "latitude": 32.38167,
            "longitude": -64.67806
          },
          "name": "Saint George",
          "population": 1896,
          "updatedAt": "2019-12-12T18:56:09.478Z"
        },
        {
          "ACL": null,
          "adminCode": "03",
          "cityId": 3573197,
          "country": "Bermuda",
          "countryCode": "BM",
          "createdAt": "2019-12-12T18:56:09.478Z",
          "featureCode": "PPLC",
          "id": "XOxdFBabxu",
          "location": {
            "latitude": 32.2949,
            "longitude": -64.78303
          },
          "name": "Hamilton",
          "population": 902,
          "updatedAt": "2019-12-12T18:56:09.478Z"
        }
      ]
    }
  }
}