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

  1. Back4App
  2. 🇧🇱 Saint Barthélemy
Public

10
1
10
1
  • 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": "00",
          "cityId": 3579132,
          "country": "Saint Barthélemy",
          "countryCode": "BL",
          "createdAt": "2019-12-12T18:55:55.324Z",
          "featureCode": "PPLC",
          "id": "o7zPAqnp2g",
          "location": {
            "latitude": 17.89618,
            "longitude": -62.84978
          },
          "name": "Gustavia",
          "population": 5988,
          "updatedAt": "2019-12-12T18:55:55.324Z"
        }
      ]
    }
  }
}