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

  1. Back4App
  2. 🇧🇿 Belize
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": "05",
          "cityId": 3581447,
          "country": "Belize",
          "countryCode": "BZ",
          "createdAt": "2019-12-12T19:02:17.997Z",
          "featureCode": "PPL",
          "id": "HDZXs52eFX",
          "location": {
            "latitude": 16.51419,
            "longitude": -88.36647
          },
          "name": "Placencia",
          "population": 4300,
          "updatedAt": "2019-12-12T19:02:17.997Z"
        },
        {
          "ACL": null,
          "adminCode": "03",
          "cityId": 3582305,
          "country": "Belize",
          "countryCode": "BZ",
          "createdAt": "2019-12-12T19:02:17.997Z",
          "featureCode": "PPLA",
          "id": "b3NNew3xVB",
          "location": {
            "latitude": 18.39375,
            "longitude": -88.38849
          },
          "name": "Corozal",
          "population": 9871,
          "updatedAt": "2019-12-12T19:02:17.997Z"
        },
        {
          "ACL": null,
          "adminCode": "04",
          "cityId": 3581514,
          "country": "Belize",
          "countryCode": "BZ",
          "createdAt": "2019-12-12T19:02:17.997Z",
          "featureCode": "PPLA",
          "id": "fAITuKRU2r",
          "location": {
            "latitude": 18.08124,
            "longitude": -88.56328
          },
          "name": "Orange Walk",
          "population": 15298,
          "updatedAt": "2019-12-12T19:02:17.997Z"
        }
      ]
    }
  }
}