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

  1. Back4App
  2. 🇧🇳 Brunei
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": 1820071,
          "country": "Brunei",
          "countryCode": "BN",
          "createdAt": "2019-12-12T18:56:24.092Z",
          "featureCode": "PPLA",
          "id": "7ox6q4gRpV",
          "location": {
            "latitude": 4.8,
            "longitude": 114.65
          },
          "name": "Tutong",
          "population": 19151,
          "updatedAt": "2019-12-12T18:56:24.092Z"
        },
        {
          "ACL": null,
          "adminCode": "02",
          "cityId": 1820676,
          "country": "Brunei",
          "countryCode": "BN",
          "createdAt": "2019-12-12T18:56:24.092Z",
          "featureCode": "PPL",
          "id": "PtZuQEkKLh",
          "location": {
            "latitude": 5.02447,
            "longitude": 115.04664
          },
          "name": "Kapok",
          "population": 4337,
          "updatedAt": "2019-12-12T18:56:24.092Z"
        },
        {
          "ACL": null,
          "adminCode": "01",
          "cityId": 1820491,
          "country": "Brunei",
          "countryCode": "BN",
          "createdAt": "2019-12-12T18:56:24.092Z",
          "featureCode": "PPLA",
          "id": "z82tXs8Kk2",
          "location": {
            "latitude": 4.58361,
            "longitude": 114.2312
          },
          "name": "Kuala Belait",
          "population": 31178,
          "updatedAt": "2019-12-12T18:56:24.092Z"
        }
      ]
    }
  }
}