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

  1. Back4App
  2. 🇮🇪 Republic of Ireland
Public

15
14
15
14
  • 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": "M",
          "cityId": 2960952,
          "country": "Ireland",
          "countryCode": "IE",
          "createdAt": "2019-12-13T00:54:01.717Z",
          "featureCode": "PPL",
          "id": "Bivdw16DhH",
          "location": {
            "latitude": 51.83056,
            "longitude": -8.22972
          },
          "name": "Whitegate",
          "population": 1067,
          "updatedAt": "2019-12-13T00:54:01.717Z"
        },
        {
          "ACL": null,
          "adminCode": "L",
          "cityId": 2961077,
          "country": "Ireland",
          "countryCode": "IE",
          "createdAt": "2019-12-13T00:54:01.718Z",
          "featureCode": "PPL",
          "id": "WCja5HTHvu",
          "location": {
            "latitude": 53.73611,
            "longitude": -6.42278
          },
          "name": "Tullyallen",
          "population": 1358,
          "updatedAt": "2019-12-13T00:54:01.718Z"
        },
        {
          "ACL": null,
          "adminCode": "U",
          "cityId": 2961006,
          "country": "Ireland",
          "countryCode": "IE",
          "createdAt": "2019-12-13T00:54:01.717Z",
          "featureCode": "PPL",
          "id": "2KWXgLKhP8",
          "location": {
            "latitude": 53.83389,
            "longitude": -7.07556
          },
          "name": "Virginia",
          "population": 2282,
          "updatedAt": "2019-12-13T00:54:01.717Z"
        }
      ]
    }
  }
}