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

  1. Back4App
  2. πŸ‡©πŸ‡° Denmark
Public

10
12
10
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": "19",
          "cityId": 2610095,
          "country": "Denmark",
          "countryCode": "DK",
          "createdAt": "2019-12-12T20:07:11.570Z",
          "featureCode": "PPL",
          "id": "lfP72owZnY",
          "location": {
            "latitude": 57.10854,
            "longitude": 10.02215
          },
          "name": "Vodskov",
          "population": 4406,
          "updatedAt": "2019-12-12T20:07:11.570Z"
        },
        {
          "ACL": null,
          "adminCode": "20",
          "cityId": 2610162,
          "country": "Denmark",
          "countryCode": "DK",
          "createdAt": "2019-12-12T20:07:11.570Z",
          "featureCode": "PPL",
          "id": "Djt9r3Iqbg",
          "location": {
            "latitude": 55.66768,
            "longitude": 11.73967
          },
          "name": "VipperΓΈd",
          "population": 2345,
          "updatedAt": "2019-12-12T20:07:11.570Z"
        },
        {
          "ACL": null,
          "adminCode": "19",
          "cityId": 2610437,
          "country": "Denmark",
          "countryCode": "DK",
          "createdAt": "2019-12-12T20:07:11.570Z",
          "featureCode": "PPL",
          "id": "E7DcWiZfpF",
          "location": {
            "latitude": 57.06767,
            "longitude": 10.12558
          },
          "name": "Vester Hassing",
          "population": 2298,
          "updatedAt": "2019-12-12T20:07:11.570Z"
        }
      ]
    }
  }
}