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

  1. Back4App
  2. 🇻🇳 Vietnam
Public

42
91
42
91
  • 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
21
query allCities {
      cities (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          country
          countryCode
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          muni
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "cities": {
      "results": [
        {
          "ACL": null,
          "adminCode": "43",
          "cityId": 1562308,
          "country": "Vietnam",
          "countryCode": "VN",
          "createdAt": "2019-12-14T19:04:00.251Z",
          "featureCode": "PPLA2",
          "id": "sELLpGllu6",
          "location": {
            "latitude": 10.92615,
            "longitude": 107.40172
          },
          "muni": null,
          "name": "Gia Ray",
          "population": 0,
          "updatedAt": "2019-12-14T19:04:00.251Z"
        },
        {
          "ACL": null,
          "adminCode": "32",
          "cityId": 1560336,
          "country": "Vietnam",
          "countryCode": "VN",
          "createdAt": "2019-12-14T19:04:00.251Z",
          "featureCode": "PPLA2",
          "id": "sDKjYnvW0s",
          "location": {
            "latitude": 21.04584,
            "longitude": 104.30101
          },
          "muni": null,
          "name": "Yên Châu",
          "population": 0,
          "updatedAt": "2019-12-14T19:04:00.251Z"
        },
        {
          "ACL": null,
          "adminCode": "45",
          "cityId": 1562414,
          "country": "Vietnam",
          "countryCode": "VN",
          "createdAt": "2019-12-14T19:04:00.251Z",
          "featureCode": "PPL",
          "id": "9XFSE5T2rA",
          "location": {
            "latitude": 10.34599,
            "longitude": 107.08426
          },
          "muni": null,
          "name": "Vũng Tàu",
          "population": 209683,
          "updatedAt": "2019-12-14T19:04:00.251Z"
        }
      ]
    }
  }
}