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

  1. Back4App
  2. 🇬🇱 Greenland
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": "04",
          "cityId": 3420846,
          "country": "Greenland",
          "countryCode": "GL",
          "createdAt": "2019-12-12T23:38:29.207Z",
          "featureCode": "PPLA",
          "id": "cYwo6qyKIw",
          "location": {
            "latitude": 60.71839,
            "longitude": -46.03561
          },
          "name": "Qaqortoq",
          "population": 3224,
          "updatedAt": "2019-12-12T23:38:29.207Z"
        },
        {
          "ACL": null,
          "adminCode": "05",
          "cityId": 3426193,
          "country": "Greenland",
          "countryCode": "GL",
          "createdAt": "2019-12-12T23:38:29.208Z",
          "featureCode": "PPL",
          "id": "bdWP2sC6A8",
          "location": {
            "latitude": 70.67442,
            "longitude": -52.12545
          },
          "name": "Uummannaq",
          "population": 1299,
          "updatedAt": "2019-12-12T23:38:29.208Z"
        },
        {
          "ACL": null,
          "adminCode": "07",
          "cityId": 3421319,
          "country": "Greenland",
          "countryCode": "GL",
          "createdAt": "2019-12-12T23:38:29.207Z",
          "featureCode": "PPLC",
          "id": "5XBbpWkgGJ",
          "location": {
            "latitude": 64.18347,
            "longitude": -51.72157
          },
          "name": "Nuuk",
          "population": 14798,
          "updatedAt": "2019-12-12T23:38:29.207Z"
        }
      ]
    }
  }
}