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

  1. Back4App
  2. 🇺🇾Uruguay
Public

11
10
11
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": "13",
          "cityId": 3439619,
          "country": "Uruguay",
          "countryCode": "UY",
          "createdAt": "2019-12-14T18:32:50.090Z",
          "featureCode": "PPL",
          "id": "vKF9J45P7Q",
          "location": {
            "latitude": -31.77794,
            "longitude": -54.69183
          },
          "name": "Vichadero",
          "population": 4170,
          "updatedAt": "2019-12-14T18:32:50.090Z"
        },
        {
          "ACL": null,
          "adminCode": "17",
          "cityId": 3440055,
          "country": "Uruguay",
          "countryCode": "UY",
          "createdAt": "2019-12-14T18:32:50.090Z",
          "featureCode": "PPL",
          "id": "oNgXir7rEj",
          "location": {
            "latitude": -33.39811,
            "longitude": -58.32177
          },
          "name": "Villa Soriano",
          "population": 1195,
          "updatedAt": "2019-12-14T18:32:50.090Z"
        },
        {
          "ACL": null,
          "adminCode": "02",
          "cityId": 3440076,
          "country": "Uruguay",
          "countryCode": "UY",
          "createdAt": "2019-12-14T18:32:50.090Z",
          "featureCode": "PPL",
          "id": "83fXHGL3zZ",
          "location": {
            "latitude": -34.68432,
            "longitude": -55.702
          },
          "name": "Soca",
          "population": 1742,
          "updatedAt": "2019-12-14T18:32:50.090Z"
        }
      ]
    }
  }
}